Microsoft .ACE.OLEDB.4.0提供程序未在本地计算机上注册 [英] Microsoft .ACE.OLEDB.4.0 provider not registered on local machine
问题描述
我收到的Microsoft Jet.OLEDB 4.0未在本地计算机上注册。 我在VB程序的设置中将其更改为ACE.OLEDB 12.0。我将目标CPU更改为x86。 我在Windows7平台上使用微软Access 2010和visual
Basic 10。 我在哪里可以找到错误指向的Microsoft ACe.OLEDB.4.0提供程序?
I was receiving Microsoft Jet.OLEDB 4.0 provide not registered on local machine. I changed it to be ACE.OLEDB 12.0 in the settings of my VB program. I changed the target CPU to read x86. I am using microsoft Access 2010 and visual Basic 10 on a Windows7 platform. Where would I find the Microsoft ACe.OLEDB.4.0 provider that the error is pointing to?
推荐答案
首先,没有ACE OLEDB Provider版本4.0( Microsoft.ACE.OLEDB.4.0)。
First, there is no ACE OLEDB Provider version 4.0 (Microsoft.ACE.OLEDB.4.0).
其次,Jet OLEDB 4.0(Provider = Microsoft.Jet.OLEDB.4.0)用于Access .mdb数据库文件,是32位只有 这就是为什么你需要在运行64位版本的Windows时将平台更改为x86。
Second, Jet OLEDB 4.0 (Provider=Microsoft.Jet.OLEDB.4.0) is for Access .mdb database files and is 32-bit only and that is why you need to change the Platform to x86 when running a 64-bit version of Windows.
对于.accdb数据库文件,ACE OLEDB Provider(Provider = Microsoft。 ACE.OLEDB.12.0)随Microsoft Access 2007或更高版本一起安装。如果安装了32位Microsoft Access 2010,则将平台选项(Build ... Configuration Manager)设置为
x86。如果您安装了64位Microsoft Access 2010,则将"平台"选项设置为"任何CPU或x64"。
For .accdb database files, the ACE OLEDB Provider (Provider=Microsoft.ACE.OLEDB.12.0) is installed with Microsoft Access 2007 or higher. If you have 32-bit Microsoft Access 2010 installed then set the Platform option (Build...Configuration Manager) to x86. If you have 64-bit Microsoft Access 2010 installed then set the Platform option to Any CPU or x64.
如果ACE OLEDB Provider尚未安装在您的上,则也可以下载并安装它。机器:
The ACE OLEDB Provider can also be downloaded and installed if it is not already installed on your machine:
https://www.microsoft .com / zh-CN / download / details.aspx?id = 13255
仅供参考,微软一般建议尽可能坚持使用32位版本的Microsoft Access和组件。
FYI, Microsoft generally recommends sticking with the 32-bit version of Microsoft Access and components when possible.
这篇关于Microsoft .ACE.OLEDB.4.0提供程序未在本地计算机上注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!