OPENROWSET error

  • 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?

    The Redneck DBA

  • 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/

    The Redneck DBA

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply