Linked Server 2005 to 2000 - using Windows Auth

Last post 07-28-2008 4:02 AM by rohit2900. 26 replies.
Page 2 of 2 (27 items) < Previous 1 2
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 12-01-2006 8:14 PM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    Check the 2005 service account access to SQL 2000...


    Mohammed U.
    MohammedU.
    Microsoft SQL Server MVP
    Moderator
    SQL-Server-Performance.com

    All postings are provided “AS IS” with no warranties for accuracy.
  • 10-17-2007 11:17 AM In reply to

    • jadjr
    • Not Ranked
    • Joined on 10-17-2007
    • Posts 2

    Re: Linked Server 2005 to 2000 - using Windows Auth

    I am having a similiar issue as has been described here except for one thing.  I can access the SQL2000 linked server (security context set to use this specific windows account) while I am logged in as that user.  However, if I login as a different user, I then receive the "TCP Provider: An existing connection was forcibly closed by the remote host.  Login failed for domain\user".  I have not set up anything for Kerberose, but as I understand it, it is only needed in a double-hop instance.  In this case, since I have selected "Be made using this context", I am under the impression that the login happens directly from the SQL Server to the linked server thereby creating only a single hop.  Can you explain what I need to do to make this work?

     

     Thanks.

  • 10-17-2007 11:34 AM In reply to

    • jadjr
    • Not Ranked
    • Joined on 10-17-2007
    • Posts 2

    Re: Linked Server 2005 to 2000 - using Windows Auth

    I am having a similiar issue as has been described here except for one thing. The two servers are in different modes and will need to stay that way (2005- mixed; 2000 Windows).  When using the "...made using this context..." I also get the "TCP Provider: An existing connection was forcibly closed by the remote host.  Login failed for domain\user".  I have not set up anything for Kerberose, but as I understand it, it is only needed in a double-hop instance.  In this case, since I have selected "Be made using this context", I am under the impression that the login happens directly from the SQL Server to the linked server thereby creating only a single hop.  Can you explain what I need to do to make this work?

     Thanks.

  • 10-19-2007 4:57 AM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 23,751
    • Microsoft MVP
      Moderator

    Re: Linked Server 2005 to 2000 - using Windows Auth

    That TCP error sounds like some network issue, check whether any dropped packet or issue within firewall for such authentication

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 10-26-2007 12:47 PM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    We are experiencing the same problem.   Satya,

    Can you try to reproduce this on your end?  Create a linked server as follows.

     Provider:   SQL Native ClientProduct Name: OLE DBData Source: (name of your sql server instance)Security Tabselect "Be made using the login's current security context"Server Options TabSet RPC and RPC Out to True

    From a PC/Laptop connect to the instance containing the linked server and run "Select * from LinkedServer.Database.dbo.sysobjects"

    See if you get the following error.

    OLE DB provider "SQLNCLI" for linked server "LVTS_SQL6" returned message "Communication link failure".Msg 10054, Level 16, State 1, Line 0TCP Provider: An existing connection was forcibly closed by the remote host.Msg 18452, Level 14, State 1, Line 0Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    I believe the problem is related to MSDTC on Windows 2003 Server and the linked server option   "Be made using the login's current security context"

    Thanks,  Dave 

     

     

  • 11-01-2007 6:09 PM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 23,751
    • Microsoft MVP
      Moderator

    Re: Linked Server 2005 to 2000 - using Windows Auth

    I have tried it and didn't get that error. The SQL instance runs under a domain accoun which has ADMIN privileges on that server along with permissions for MSDTC....

    I'll try with Win2k too to see whether it happens...

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 06-28-2008 6:15 AM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    HI,

    I'm alos facing the same issue.

    We havea server which is in Domain and is Running on SQL Server 2000 and with windows authentication.

    Now we have another server running on 2005 and is not part of any domain and running in mixed mode. Now I want ot create a linked server on the 2nd server to the one which is running in domain. Wht should I do? I already created a user in domain and granted the necessary db access in 1st server. and created the same user (with same user id and p/w) in 2nd server which is not in domain and granted the db access. But still I'm not able to access the tables.

    Error Message:  TCP Provider: An existing connection was forcibly closed by remote host.

    Reason: Not associated with trusted sql server connection. 

    Can anybody help and give a step by step process to handle the situation.

    Ram
    MCDBA
    View Rohit Paliwal's profile on LinkedIn
  • 06-29-2008 3:43 PM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 23,751
    • Microsoft MVP
      Moderator

    Re: Linked Server 2005 to 2000 - using Windows Auth

    In the past I have also attempted following step to resolve:

    Add the following registry key and reboot the server.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SycAttackProtect{DWORD} = 0

    Make sure to test this before you apply on the live server.

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 06-30-2008 6:18 AM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    I missed one thing Both the servers are not part of any domain and 1st one is running with windows authentication and 2nd is in mixed mode...Now I want to create linked server on 2nd server pointing to 1st server??? Is this possible? If Yes then How?

    FYI: 1st server is on SQL Server 2000 standard SP4...2nd is on SQL Server 2005 Standard.

    Its Very Urgent....

    Thx

     

    Ram
    MCDBA
    View Rohit Paliwal's profile on LinkedIn
  • 06-30-2008 6:49 AM In reply to

    • satya
    • Top 10 Contributor
    • Joined on 11-05-2002
    • United Kingdom
    • Posts 23,751
    • Microsoft MVP
      Moderator

    Re: Linked Server 2005 to 2000 - using Windows Auth

    You should use with a common account between these server in order to pass-thru the authentication whihc is the first layer of connectivity.

    -Satya S K J

    SQL Server MVP



    Knowledge is Power, you will gain by sharing it. SSQA.net - Invisible contributions to the users & visible success in SQL Community.
  • 06-30-2008 6:52 AM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    Then Should I create the same user in 2nd server with same p/w and then try to connect???

    Will this work???

     

    Ram
    MCDBA
    View Rohit Paliwal's profile on LinkedIn
  • 07-28-2008 4:02 AM In reply to

    Re: Linked Server 2005 to 2000 - using Windows Auth

    Guys....I've tried everything to make this possible but I wasn't able to do it....

    Can any body help me?

    Satya where r u?

    Rohit

    Ram
    MCDBA
    View Rohit Paliwal's profile on LinkedIn
Page 2 of 2 (27 items) < Previous 1 2
Active Topics   My Discussions    Unanswered Posts


© 2010 Jude O'Kelly All Rights Reserved.