I have about twenty servers that I'm trying to use Openrowset against. It works fine except for one server which throws this connection timeout message:
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 10060, Level 16, State 1, Line 0
TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
The code and connection information (SQL User/Pswd) are identical except for the server name. The connection information works fine when used from SSMS or any other application. The 'Ad Hoc Distributed Queries' is set properly. In theory, all of the servers are configured the same (It's a great theory...). These are all production servers that have been under the same workload (same applications on each server) for a number of years so I don't find any gross misconfiguration is at fault here.
Any thoughts on what setting(s) could be out of sync?
Many thanks...