The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine.
When running 64-bit windows and there are no MS Access drivers that run 64 bit.So to resolve it you need to change the build configuration to x86 found in the programs properties.
Then click on Build and change the Platform target from Any CPU to x86.Recompile your program , it works like charm.
http://ybbest.wordpress.com/2009/07/22/the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/
When running 64-bit windows and there are no MS Access drivers that run 64 bit.So to resolve it you need to change the build configuration to x86 found in the programs properties.
Then click on Build and change the Platform target from Any CPU to x86.Recompile your program , it works like charm.
http://ybbest.wordpress.com/2009/07/22/the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/
留言