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

Link Server Expand / Collapse
Author
Message
Posted Thursday, March 21, 2013 1:36 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, September 24, 2013 10:54 AM
Points: 9, Visits: 59
my question is can I create a link server from a SQL server 2008r2 to SQL server 2012sp1. I am getting the following error after I create the link server and try do a simple query.

OLE DB provider "SQLNCLI10" for linked server "lf3" returned message "Client unable to establish connection due to prelogin failure".
Msg 121, Level 16, State 1, Line 0
TCP Provider: The semaphore timeout period has expired.
OLE DB provider "SQLNCLI10" for linked server "lf3" returned message "Client unable to establish connection".
Msg 26, Level 16, State 1, Line 0
Client unable to establish connection because an error was encountered during handshakes before login. Common causes include client attempting to connect to an unsupported version of SQL Server, server too busy to accept new connections or a resource limitation (memory or maximum allowed connections) on the server.


Is this a compatibility problem or connection problem.
Post #1434007
Posted Thursday, March 21, 2013 2:02 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:26 PM
Points: 12,744, Visits: 31,071
on my dev machine, where i have the last 4 versions of SQL, i was able to create a linked server from 2008R2 to 2012, and successfully query a known table, so at least you can be sure it's possible.

i googled your error here, but i'm not sure which might apply.
/****** Object:  LinkedServer [DEV223\SQL2012]    Script Date: 03/21/2013 15:59:08 ******/
EXEC master.dbo.sp_addlinkedserver @server = N'DEV223\SQL2012', @srvproduct=N'SQL Server'
/* For security reasons the linked server remote logins password is changed with ######## */
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'DEV223\SQL2012',@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL


select * from [DEV223\SQL2012].master.sys.tables



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1434015
Posted Thursday, March 21, 2013 2:12 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, September 24, 2013 10:54 AM
Points: 9, Visits: 59
Thanks for verify that it is a connection problem.
Post #1434020
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse