Microsoft.ACE.OLEDB.12.0提供者未注册 [英] Microsoft.ACE.OLEDB.12.0 provider is not registered
问题描述
我的应用程序是用 C#
和使用 MS-Access 2003中
,我希望它在正常运行 64位
Windows安装。我用的是数据提供 ACE.OLEDB.12。
0在连接字符串中,但它仍然给了异常 Microsoft.ACE.OLEDB。 12.0
提供程序未注册,虽然我已经安装了的Microsoft Access DATABSE引擎2010
( 32位
),目标计算机(如目标机的办公室
安装 32位
)。
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
).
我也跟着下面的帖子<一href="http://stackoverflow.com/questions/238625/microsoft-ace-oledb-12-0-provider-is-not-registered">Microsoft.ACE.OLEDB.12.0供应商未注册
而在 MSDN
许多其他的员额和其他微软
网站和问题解决了,他们说要编译成 86
。我想知道是否有解决这个问题的另一种方式,它不需要编译,以 86
...
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
...
推荐答案
您不必编译x86的,但是你需要在64位机器上安装64位访问OLEDB提供程序。它可在这里: Microsoft Access数据库引擎2010可再发行
You don't have to compile for x86, but you need to install the 64-bit Access OLEDB provider on a 64-bit box. It's available here: Microsoft Access Database Engine 2010 Redistributable
这篇关于Microsoft.ACE.OLEDB.12.0提供者未注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!