Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai

I want to get oledb provider for jet 4.0 in my sql. I am using 64 bit version of windows.

I have created a linked server to access the access database and import that database to sql.

So, I have written one stored procedure to create a linked server there i mentioned provider as Microsoft oledb jet 4.0.

I got error like this in 64 bit 'OLE DB provider 'Microsoft.Jet.OLEDB.4.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.'

In 32 bit windows it is working fine. I installed microsoft oledb jet drivers. But in 64 bit It is not being installed.

Can u pls tell me the suggestion to get provider oledb jet 4.0 in Sql linked servers.
Posted
Updated 8-Nov-15 22:38pm
v2

1 solution

There is no 64 bit version of the Jet engine, so you can't use it in a 64 bit environment.

Switch to the ACE engine instead, which has both 32 and 64 bit versions.
 
Share this answer
 
Comments
TarunKumarSusarapu 9-Nov-15 5:18am    
How can we use ACE Engine instead of Jet Engine Can u please explain briefly
TarunKumarSusarapu 9-Nov-15 5:29am    
I got error like this while connecting to linked server using ACE Engine 'Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ClientAc825".
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ClientAc825" returned message "Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt.".'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900