Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: Yesterday @ 5:21 AM
Points: 13,970, Visits: 36,242
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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
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