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

Mine is a 32 bit os PC . I have created an application which uses OleDbDataAdapter.
When I run this exe in 64 bit PC, I am getting an error like 'The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine'.
I have tried the following things, still the same error

1- I have Set solution and project platforms as 'AnyCPU' - not worked
2- Set solution and project platform as 'x64' - got a build error(File 'Test.exe' of project output 'Primary output from Test (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86')

Any idea how to proceed?
Posted

1 solution

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
 
Comments
Maciej Los 5-May-14 2:51am    
+5!
Kornfeld Eliyahu Peter 5-May-14 2:52am    
Thank you...

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