debugsqlMinor
Access Linked Server error "The provider did not give any information about the error."
Viewed 0 times
errortheproviderdidanygiveinformationaboutserverlinked
Problem
A little information.
I'm running SQL SERVER 2008 R2 64bit.
I have Microsoft.ACE.OLEDB.12.0 provider installed.
On my production server I've setup a linked server to the access db using the provider listed above and everything works great.
Copy the Access db to our dev environment and try to setup linked server useing the same provider.
Test Connection comes back as success
Select from linked server comes back with
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MYdb" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MYdb".
Both servers are running same version of SQL Server. Both are Windows NT 6.1 64bit OS.
When I set AllowInProcess to 1 the test connection fails.
Any help would be greatly appreciated as Google is failing me.
Thanks,
Chris
I'm running SQL SERVER 2008 R2 64bit.
I have Microsoft.ACE.OLEDB.12.0 provider installed.
On my production server I've setup a linked server to the access db using the provider listed above and everything works great.
Copy the Access db to our dev environment and try to setup linked server useing the same provider.
Test Connection comes back as success
Select from linked server comes back with
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MYdb" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MYdb".
Both servers are running same version of SQL Server. Both are Windows NT 6.1 64bit OS.
When I set AllowInProcess to 1 the test connection fails.
Any help would be greatly appreciated as Google is failing me.
Thanks,
Chris
Solution
I found the issue but I'm not sure why its happening.
To query the linked server I have to right click SSMS and select Run as Admin. Then I can query the access db.
I dont know why this is the case as I'm remoted into the machine. I'm an administrator on the machine. I created the Linked Server to the Access Database which resides on the C:\Drive of the server.
But this will at least allow me to hand run my code. Since this is my development server I think that will suffice at least for now.
To query the linked server I have to right click SSMS and select Run as Admin. Then I can query the access db.
I dont know why this is the case as I'm remoted into the machine. I'm an administrator on the machine. I created the Linked Server to the Access Database which resides on the C:\Drive of the server.
But this will at least allow me to hand run my code. Since this is my development server I think that will suffice at least for now.
Context
StackExchange Database Administrators Q#7225, answer score: 3
Revisions (0)
No revisions yet.