[英]Connecting Access db in Visual C# express
Is there any limitations in what can connect with what? 什么可以与什么连接有任何限制? I have a big problem in connecting my db file in visual C# express, I always get "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine."
在可视C#express中连接数据库文件时,我遇到了一个大问题,我总是得到“在本地计算机上未注册'Microsoft.ACE.OLEDB.12.0'提供程序”。 error when I test my connection.
测试连接时出错。 I have win 7 with ms access 2010 and access database engine, all 64-bit.
我的MS Access 2010和Access数据库引擎均为64位,因此赢得了7。
You need to install the Office System Driver: Data Connectivity Components . 您需要安装Office系统驱动程序:数据连接组件 。 Even though it says it is for Office 2007 it works with 2010 also.
即使它说是用于Office 2007,它也可以与2010一起使用。 After you install that from there you should be able to just add a datasource within Visual Studio.
从那里安装后,您应该可以只在Visual Studio中添加数据源。
我认为,如果仅在x86配置下运行项目,该错误将被消除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.