Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "xxxx".

Lawrence Chew Jian Shin 21 Reputation points
2021-07-14T07:17:53.403+00:00

Hi, i try to create linked servers in sql server 2014 to get the data from sqlite, but it showing this error messages.

Msg 7399, Level 16, State 1, Line 10
The OLE DB provider "MSDASQL" for linked server "SYNCUSERSINFO" reported an error. The provider did not give any information about the error.
Msg 7303, Level 16, State 1, Line 10
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "SYNCFROMSQLITE".

Below is my ODBD configuration
114429-image.png

Below is my sql server linked server configuration
114389-image.png

SQL Server Other
{count} votes

Accepted answer
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2021-07-14T07:59:40.467+00:00

    Unfortunately the were no additional error messages. This means that we are in the dark of what is going wrong. But an obvious guess is permissions. That is, the service account for SQL Server needs to have permission to your Documents folder and on the file itself.

    I would put the database somewhere outside C:\Users, but that's me.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.