My application is written in C#
and uses Ms-Access 2003
and I want it to run properly in 64-bit
Windows installation. I use the data provider as ACE.OLEDB.12.
0 in the connection string, but it still gives the exception that Microsoft.ACE.OLEDB.12.0
provider is not registered though I have installed the Microsoft Access Databse Engine 2010
(32-bit
) in the target machine (As the target machine's Office
installation is 32-bit
).
I followed to the following post Microsoft.ACE.OLEDB.12.0 provider is not registered
and many other posts in msdn
and other microsoft
sites and the problem solves as they say to compile to x86
. I want to know whether there is another way of solving this problem which does not require compiling to x86
...