March 21, 2013 at 1:36 pm
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.
March 21, 2013 at 2:02 pm
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
March 21, 2013 at 2:12 pm
Thanks for verify that it is a connection problem.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply