Microsoft.ACE.OLEDB.12.0 provider
freddrox
-
rellian -
rellian -
Hello everyone
I'm currently designing an application in C# and at the same time I'm using databases (with access)
but during compilation, the following message appears: "the Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine." I did some research but couldn’t find anything, I found a sort of solution saying to switch from 64 to 32 bits (x86) but still no result, I get the following message instead: "the specified case is not valid"
So now I don't know what to do, so if someone can help me that would be super coooooooooooooooooooooool
thanks
ps: I’m working with Visual Studio 2008!!!
I'm currently designing an application in C# and at the same time I'm using databases (with access)
but during compilation, the following message appears: "the Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine." I did some research but couldn’t find anything, I found a sort of solution saying to switch from 64 to 32 bits (x86) but still no result, I get the following message instead: "the specified case is not valid"
So now I don't know what to do, so if someone can help me that would be super coooooooooooooooooooooool
thanks
ps: I’m working with Visual Studio 2008!!!
Configuration: Windows 7 / Safari 533.1
11 answers
-
You need to choose "Target CPU" as X86 instead of "Any CPU" in the advanced compilation options. The driver is not compatible with 64 bits. Once that's done, you won't have this issue anymore.
-
-
The solution from luckyexplorer is good; Go to the properties of your program, click on "Build" on the left side of your screen and for "platform target" click the comboBox on the right and choose x86 instead of Any CPU. The only thing left to do is to right-click on the name of your solution (or your program) in the solution explorer and choose "Rebuild"
Go .................. Try it! -
-