OPENROWSET statement fails

  • Hi all,

    I am using OPENROWSET statement to access data from a remote server.

    [font="Courier New"]select * from openrowset('SQLOLEDB','192.186.4.11';'sa';'',

    'SELECT * From TestPOS.dbo.invoice_header')[/font]

    It used to work fine. But all at a sudden, it stopped working.

    Now the statement takes too much time and gives the message -

    SQL Server does not exist or access denied.-

    eventhough there is no such problems visible.

    what could have gone wrong?

    can anybony help.?

    thanks in advance.

    Thomas george

  • Can you connect to this server via SSMS using the IP and same credentials?

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

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