Microsoft.Jet.OLEDB.4.0 的替代品,用于对 MDB 文件进行 64 位访问 [英] Alternative to Microsoft.Jet.OLEDB.4.0 for 64 bit access on MDB File

查看:53
本文介绍了Microsoft.Jet.OLEDB.4.0 的替代品,用于对 MDB 文件进行 64 位访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和许多其他人一样,我无法使用 Microsoft.Jet.OLEDB.4.0 从我的 64 位计算机访问 Microsoft Access(MDB 文件).

I have like many others the problem that I can't access Microsoft Access (MDB Files) from my 64 bit machine using Microsoft.Jet.OLEDB.4.0.

我知道它没有 64 位版本,我需要针对 x86 编译它.

I know that there's no 64bit version of it, and that I need to compile it against x86.

所以我的问题是:您知道其他支持 64 位访问的 Microsoft Access .NET 提供程序吗?

So my question is: Do you know any other .NET Providers for Microsoft Access that supports 64bit access?

推荐答案

要获得 64 位 Microsoft Access 驱动程序,请下载 Microsoft Access 数据库引擎 2010 可再发行组件.您无法安装 32 位版本的 Microsoft Office.

To get 64 bit Microsoft Access drivers download the Microsoft Access Database Engine 2010 Redistributable. You cannot install that with a 32 bit version of Microsoft Office installed.

与该驱动程序的 ODBC 连接字符串是 "Driver={{Microsoft Access Driver (*.mdb, *.accdb)}};Dbq=%FILE_NAME%;Uid=Admin;Pwd=;".该驱动程序的 OleDb 连接字符串是 "Provider=Microsoft Office 12.0 Access Database Engine OLE DB Provider;Data Source=%FILE_NAME%;User Id=admin;Password=;.

The ODBC connection string with that driver is "Driver={{Microsoft Access Driver (*.mdb, *.accdb)}};Dbq=%FILE_NAME%;Uid=Admin;Pwd=;". The OleDb connection string for that driver is "Provider=Microsoft Office 12.0 Access Database Engine OLE DB Provider;Data Source=%FILE_NAME%;User Id=admin;Password=;.

这篇关于Microsoft.Jet.OLEDB.4.0 的替代品,用于对 MDB 文件进行 64 位访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆