无法识别的数据库格式'C:.....Employees.accdb for Microsoft Access 数据库文件? [英] Unrecognized database format'C:.....Employees.accdb for Microsoft Access Database File?
问题描述
我正在尝试访问存储在 Microsoft Access 数据库中的文件.(我在 Visual Studio 2012 中工作)我选择了数据库源类型和数据集数据库模型,当它询问我您的应用程序应该使用哪个数据连接来连接到数据库?"时,我单击了新建连接,然后我选择了Microsoft Access 数据库文件 (OLE DB).在数据库文件名下,我单击浏览并选择了适当的文件 (Employees.accdb).当我按测试连接"或确定"时,出现此错误:无法识别的数据库格式'C:.....Employees.accdb.关于我做错了什么的任何想法?
I am trying to access a file stored in a Microsoft Access database. (I am working in Visual Studio 2012) I chose the Database source type, and the Dataset database model, when it asks me "which data connection should your application use to connect to the database?", I clicked New Connection, then I chose Microsoft Access Database File (OLE DB). Under the Database file name, I clicked browse and selected the appropriate file(Employees.accdb). When I press Test Connection or Ok I get this error: Unrecognized database format' C:.....Employees.accdb. Any ideas as to what I am doing wrong?
推荐答案
您的计算机丢失 Microsoft.ACE.OLEDB.12.0
您可以从这里获取:http://www.microsoft.com/en-us/download/details.aspx?id=13255
这篇关于无法识别的数据库格式'C:.....Employees.accdb for Microsoft Access 数据库文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!