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

OPENROWSET error Expand / Collapse
Author
Message
Posted Monday, May 20, 2013 1:08 PM
UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Yesterday @ 11:43 AM
Points: 1,477, Visits: 2,100
I came in after the weekend, and the following statement is failing with the error:

"OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "(null)" returned message "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".
Msg 53, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server [53]. "

SELECT
*
FROM
OPENROWSET
( 'SQLOLEDB',
'Server=[servername];UID=xxxxxx;PWD=xxxxxxx;',
'SELECT * FROM dbname.dbo.branch') TabName

But the statement below works fine, so I assume it's not a network issue.

select * from [servername].dbname.dbo.branch


Any suggestions as to what to look at?


Jason Shadonix
MCTS, SQL 2005
Post #1454698
Posted Monday, May 20, 2013 4:07 PM
UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Yesterday @ 11:43 AM
Points: 1,477, Visits: 2,100
Info that is probably relevant. I've determined by talking with our HW team that this update was installed over the weekend: http://support.microsoft.com/kb/2494120/



Jason Shadonix
MCTS, SQL 2005
Post #1454769
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse