OPENDATASOURCE error about "linked server"

  • Hello Master DBA'a/DB developers!

    I have a developer that is running this code the local server below and it keeps throwing the error message listed herein. Can anybody throw me a bone on this one? Thanks! 🙂

    SELECT * FROM OPENDATASOURCE('SQLOLEDB','Data Source=CYN-DB1;User ID=myuser;Password=mypassword).Vimas.dbo.accountDebits

    Or

    UPDATE OPENDATASOURCE('SQLOLEDB','Data Sour……

    Getting error below:

    Cannot create an instance of OLE DB provider "MSDASC" for linked server "(null)".

  • You will find the fix/workaround that worked for me here

    opendatasource error

  • Additionally you can try to verify the Account name under which your SQL server service is running.

    In my case, on Dev server, the Service was running under Local system account while on Test server it was running under NT Authority.

    Once i set the SQL service to run under Local system, we could use OpenDataSource...

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

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