Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Linked Server error Expand / Collapse
Author
Message
Posted Wednesday, September 11, 2013 4:18 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, December 12, 2014 1:20 AM
Points: 251, Visits: 927
Dear All,

When I tried to create a Linked Server I get the following error message would you please let me know what would cause the issue please?

Named Pipes Provider: Could not open a connection to SQL Server [53].
OLE DB provider "SQLNCLI" for linked server "Servername" returned message "Login timeout
expired".
OLE DB provider "SQLNCLI" for linked server "Servername" 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.". (.Net SqlClient Data Provider)

Thank you in advance!
Post #1493552
Posted Wednesday, September 11, 2013 5:00 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:56 AM
Points: 6,748, Visits: 8,545
tt-615680 (9/11/2013)
Dear All,

When I tried to create a Linked Server I get the following error message would you please let me know what would cause the issue please?

Named Pipes Provider: Could not open a connection to SQL Server [53].
OLE DB provider "SQLNCLI" for linked server "Servername" returned message "Login timeout
expired".

OLE DB provider "SQLNCLI" for linked server "Servername" 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.". (.Net SqlClient Data Provider)

Thank you in advance!


That's the first warning for not using linked servers.

From which engine edition are you trying to link to what target engine edition ?


Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1493571
Posted Wednesday, September 11, 2013 6:31 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, December 12, 2014 1:20 AM
Points: 251, Visits: 927
ALZDBA (9/11/2013)
tt-615680 (9/11/2013)
Dear All,

When I tried to create a Linked Server I get the following error message would you please let me know what would cause the issue please?

Named Pipes Provider: Could not open a connection to SQL Server [53].
OLE DB provider "SQLNCLI" for linked server "Servername" returned message "Login timeout
expired".

OLE DB provider "SQLNCLI" for linked server "Servername" 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.". (.Net SqlClient Data Provider)

Thank you in advance!


That's the first warning for not using linked servers.

From which engine edition are you trying to link to what target engine edition ?


Thank you for your reply! I'm using SQL Server 2005 standard edition.

Thank you.
Post #1493625
Posted Wednesday, September 11, 2013 7:05 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:56 AM
Points: 6,748, Visits: 8,545
is it configured to be using TCP\IP connections ?

Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1493654
Posted Tuesday, September 17, 2013 5:02 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, December 12, 2014 1:20 AM
Points: 251, Visits: 927
ALZDBA (9/11/2013)
is it configured to be using TCP\IP connections ?


In SQL Server Configuration manager, TCP/IP is enabled.
Post #1495444
Posted Wednesday, September 18, 2013 5:16 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:56 AM
Points: 6,748, Visits: 8,545
if you rdp the source sql instance ( where you want to define the linked server ) can you use sqlcmd / SSMS ( if installed ) and connect to the target instance for the linked server ?



Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1495856
Posted Wednesday, September 18, 2013 5:56 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 12:52 PM
Points: 111, Visits: 343
first check on linked server in ( component services -> computer -> mycomputer -> distributedTransaction there is local DTC.) On local DTC properties tab security allow remote access.

if you do this,

check ram memory on linked server.

Post #1495876
Posted Friday, January 10, 2014 11:40 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, July 14, 2014 5:12 AM
Points: 57, Visits: 225
Hi,
if the server is not able to connect through SSMS is there any steps that needs to be checked.

Thanks
Post #1529918
Posted Monday, January 13, 2014 12:43 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:56 AM
Points: 6,748, Visits: 8,545
first of all check the way the linked server is defined.

then check if you would indeed be authorized to use the linked server in that way



Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1530196
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse