Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
This error is coming when is installed on client's machine.when i changed active solution platorm to "x86",exception is thrown in 64 bit machine and if active solution platorm is "Any CPU" it works fine in 64 bit as well as 32 bit machine.Please help.
thanks in advance
Posted

You can only install one version of the ACE drivers: 32 bit or 64 - so if the client machine is a 64 bit OS, then it is likely that the installed version is 64 bit. Your x86 (32 bit) application cannot talk to a 64 bit driver.

Change you app back to "Any CPU" and it should be fine.
 
Share this answer
 
Your OS is missing the 64 bit driver. Download and install from here: http://www.microsoft.com/en-us/download/details.aspx?id=13255[^] (look for the _x64 exe!)...
 
Share this answer
 

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