本文介绍了无需"Access Database Engine 2010"即可连接到MS Access DB(.accdb).的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究64位C#解决方案,并且希望在不安装"Access Database Engine x64"的情况下连接到MS Access DB(.accdb文件).

I'm working on a 64 bit C# solution and I wish to connect to an MS Access DB (.accdb file) without installing "Access Database Engine x64".

"Access数据库引擎x64"安装要求当前安装的MS Office版本是64位,这在公司环境中是不可接受的.

The "Access Database Engine x64" installation demand that the currently installed MS Office version is a 64 bit, which is not an acceptable demand in the company environment.

我意识到OLEDB和ODBC要求安装"Access Database Engine x64".

I realized that OLEDB and ODBC demand that "Access Database Engine x64" will be installed.

还有另一种方法可以连接到Access文件吗?

Is there another way to connect to the Access file?

谢谢!

推荐答案

还有另一种方法可以连接到Access文件吗?

Is there another way to connect to the Access file?

实际上,不是. 64位.NET应用程序需要使用64位版本的Access数据库引擎来操纵Access数据库.

Practically speaking, no. A 64-bit .NET application needs to use the 64-bit version of the Access Database Engine to manipulate an Access database.

可以将Access数据库引擎的32位和64位版本都强制驻留在同一台计算机上,但是不建议这样做.它可能会导致Office问题,并且不是受支持的配置.

It is possible to force both the 32-bit and 64-bit versions of the Access Database Engine to reside on the same machine, but it is not recommended. It can cause problems with Office and is not a supported configuration.

这篇关于无需"Access Database Engine 2010"即可连接到MS Access DB(.accdb).的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 15:36