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