[英]'The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.'
I'm trying to connect an ms access DB with my C# form, and while am using the click action an ERROR appears我正在尝试使用我的 C# 表单连接 ms 访问数据库,并且在使用单击操作时出现错误
: 'The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.' : 'Microsoft.ACE.OLEDB.12.0' 提供程序未在本地计算机上注册。'
I'm currently using the MS Office 2016 and using the link string: string acon = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source =C:\Users\kingb\Documents\Persons.accdb;Persist Security Info=False;";
我目前正在使用 MS Office 2016 并使用链接字符串: string acon = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source =C:\Users\kingb\Documents\Persons.accdb;Persist Security Info=False;";
I already installed the ms access engine 2016 X64-bit and the problem is still there.我已经安装了ms access engine 2016 X64-bit,问题依旧。
To avoid the requirement of Office, install the Microsoft Access Database Engine 2010要避免 Office 的要求,请安装Microsoft Access Database Engine 2010
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.