locked
SQL Server Cannot initialize the data source object of OLE DB provider MSDASQL for linked server RRS feed

  • Question

  • Hi all,

    • I've created a linked server on SQL machine 1. Connection works fine, querying works fine. 
    • I've set up  the proper credential mapping  (windows authentication) for the appropriate users.
    • When trying to use the linked server from different machines, the linked server connection only works when the user is logged in on the original machine. If not, I get the standard error "SQL Server Cannot initialize the data source object of OLE DB provider MSDASQL for linked server".

    -> The users are admin on both machines we're trying to connect from, as well as the machine where the linked server is defined.

    -> They have the permission "Impersonate a client after authentication" as well as "Create global objects"

    -> Running SSMS as admin does not work (and even then, we need to be able to run the query from a frontend client, without SSMS).

    What am I missing? Why does this only work when the user is logged in? When we log out again, it stops working and is consistent across different users and machines.

    Thanks,

    Louis

    Friday, December 11, 2020 3:42 PM

Answers


  • This forum is for Windows Embedded Standard 7. The MSDN forums are closing. Please post your question to the new Microsoft Q&A forum: sql-server-general - Microsoft Q&A

    Sean Liming - Book Author: Starter Guide Windows 10 IoT Enterprise - www.annabooks.com / www.seanliming.com

    • Marked as answer by Sean LimingMVP Friday, December 11, 2020 6:21 PM
    Friday, December 11, 2020 6:21 PM