Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I have developed one windows application in C# using Visual Studio 10.0 with MS Access (office 2007) database. It is perfectly running on 32-bit system. But when I am making setup of this application & deploying it on 64-bit OS(windows-8), it is giving 2 types error.
1. Microsoft.ACE.OLEDB.12.0 / Microsoft.ACE.OLEDB.4.0 is not registered on local machine
2. Operation must use an updateable query.

Please help me in solving these errors.
Posted
Comments
AndrewCharlz 14-Mar-14 2:14am    
make ur platform target to anycpu.
vikram_bullet 14-Mar-14 3:12am    
making plateform target does not work. it needs to be x86, then only it will work in both the cases .
Bernhard Hiller 14-Mar-14 4:07am    
Do not forget to install 32bit MS Access on the other machine also...

1 solution

Do not change the Target CPU from Application properties, just set it to x86. And you would be good to go.

Your application will execute on 32-bit as well as 64-bit systems.
 
Share this answer
 
Comments
Prachi92 14-Mar-14 5:53am    
Thank you Vikram Sir.
Again it is giving same error as "Operation must use an updateable query". How to solve it??
vikram_bullet 19-Mar-14 3:22am    
This error is some thing else, it does not seems to be linked with target cpu settings.

Plz send more info on this

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