February 26, 2010 at 3:23 pm
I have a local sql express server MYNAME\SQLEXPRESS
It has the DEV database
When I run this query on my development SQL server:
Select *
FROM OPENDATASOURCE('SQLNCLI','Data Source=my_ip_address\SQLEXPRESS;Password=mypassword;Persist Security Info=False; User ID=sa;').DEV.dbo.[MyTable]
I get this error:
OLE DB provider "SQLNCLI10" for linked server "(null)" returned message "Login timeout expired".
OLE DB provider "SQLNCLI10" for linked server "(null)" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
Msg 65535, Level 16, State 1, Line 0
SQL Server Network Interfaces: Server doesn't support requested protocol [xFFFFFFFF].
Any idea what I am missing?
February 26, 2010 at 8:14 pm
What documentation are you using to configure the Linked Server?
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
February 26, 2010 at 8:56 pm
I am sorry, I don't understand your question.
March 2, 2010 at 1:07 pm
Is your Server is configured to mixed mode authentication?
March 2, 2010 at 1:25 pm
I'm sorry but I will defer to the distiquished members of this forum.
Unfortunately I have gone through some tough times and I do not feel that I could give good advise. 🙁
I'm sure that you will get a significant number of responses to your challenge.
WC AKA Richard
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
March 4, 2010 at 12:41 pm
Express doesnt allow remote connections, so please check the requirement....as you can extract data from two tables into your application and you can use LINQ if you are using C# to join the two tables...or you can write query linking servers on the other server only if it is not express edition.....
March 4, 2010 at 3:39 pm
This is what we noticed:
We can access the development server from the SQL express server but not vice versa.
Thanks
March 4, 2010 at 4:29 pm
My advice kind of takes it "from the top."
It sounds like you have a unidirectional firewall rule. Try a simple telnet to the port that SQL is supposedly listening on. You can check the sql configuration checker to confirm the port.
Another thing I'd try is to RDP to the box and then locally (emphasis on locally) telnet into the port and then telnet to the port from the other system. If the former works and the latter doesn't, I would suspect that there's some firewall preventing this. Could be local / software based or actual infrastructure. Give that a shot and see what happens?
If that works, then review the linking documentation --> http://msdn.microsoft.com/en-us/library/ms188279(SQL.90).aspx
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply