ERROR with OPENROWSET on remote servers in DMZ

  • Hello,

    Getting following error if i create an OLE DB soruce to remote DB

    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 2, Level 16, State 1, Line 0

    Named Pipes Provider: Could not open a connection to SQL Server [2].

    If i remove the OPENROWSET it works fine.

    Is there any alternate to OPENROWSET, which will eventually remove the problem of "Ad-Hoc Remote Queries"

    OR

    How to fix the above error ?

    Cheers

Viewing 0 posts

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