Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Linked server problem

Author  Topic 

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-01 : 16:40:48
I am trying to create a linked server from SQL2K5 TO SQL2K. Both the servers are 64 bit. I am getting the folloiwng error.

---------------------------------------------------------------
OLE DB provider "SQLNCLI" for linked server "linked_server_name" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "linked_server_name" returned message "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".
-----------------------------------------------------------------

I am able to successfully connect target server using linked server credentials. How can I troubleshoot this?





------------------------
I think, therefore I am - Rene Descartes

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-01 : 17:05:12
"I am able to successfully connect target server using linked server credentials"

what do you mean?
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-01 : 17:09:12
quote:
Originally posted by sodeep

"I am able to successfully connect target server using linked server credentials"

what do you mean?



from SSMS -> connect DB

------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-05-01 : 17:10:13
How long does it take to connect from the 2005 box to the 2000 box?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-01 : 17:14:04
It is very fast in SSMS.

------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-05-01 : 17:15:31
But are you on the 2005 box during the connect or on your own client machine?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-01 : 17:17:02
In 2005 box. I am doing a RDP to 2005 box, then trying to create a linked server.

------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page
   

- Advertisement -