Microsoft.ACE.OLEDB.12.0驱动程序用于基于x64的应用程序 - 如何使它工作,安装86的MS Office? [英] Microsoft.ACE.OLEDB.12.0 driver for x64 app - how to make it work with x86 MS Office installed?

查看:3674
本文介绍了Microsoft.ACE.OLEDB.12.0驱动程序用于基于x64的应用程序 - 如何使它工作,安装86的MS Office?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft.ACE.OLEDB.12.0驱动程序不能正常工作在我的电脑,我试图修复它。 在连接口的错误是:。供应商无法找到它可能没有正确安装

Microsoft.ACE.OLEDB.12.0 driver is not working on my PC, I am trying to fix it. Error on connection opening is: "Provider cannot be found. It may not be properly installed."

下面是我现在得到:

  • 在我所建的64 C#与连接字符串ADO.NET控制台应用程序连接到'*。MDB:

提供程序= Microsoft.ACE.OLEDB.12.0;数据源= ...

"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=..."

  • 在我有两个PC-S A和B,两者有Windows 7 x64和相同的MS Office 2013 x86版本
  • 在同一exacutable将运行而不会在PC-A的问题,而不是PC-B上
  • 还有其他几个PC类似的配置,全部采用同一个可执行抛出同样的异常

我已经红了这么多问题有类似的问题,都建议使用64位的Office版本,但这不是选择我。因为我有PC-A有86处和64位驱动程序工作正常在64位应用程序,我在寻找措施来发现为什么它的工作原理是特定机器上,如何复制此上的其它计算机。

I have red so many questions with similar problems and all suggest using x64 Office version but this is not option for me. As I have PC-A which has x86 Office and x64 bit driver is working fine in x64 application I am looking for steps to discover why it works on that particular machine and how to replicate this on other machines.

有人可能会误以为这个问题作为<重复href="http://stackoverflow.com/questions/7116019/hand-install-of-64-bit-ms-access-odbc-drivers-when-32-bit-office-is-$p$psent">hand-install-of-64-bit-ms-access-odbc-drivers-when-32-bit-office-is-$p$psent但事实并非如此,我曾试图安装使用/被动选择64位驱动程序,但尽管随后司机工作从C#应用程序我无法启动Access都在这之后我的电脑上。在PC-A可以用没有问题访问工作,并仍然使用64位的驱动程序。

Someone might mistake this question as duplicate of hand-install-of-64-bit-ms-access-odbc-drivers-when-32-bit-office-is-present but it is not the case, i have tried to install x64 driver with /passive option but although then driver works from C# app I am unable to start Access at all on my PC after this. On PC-A you can work with Access with no problem and still use x64 driver.

推荐答案

我已经复制了从工作机(PC-A)到我的电脑,我有整个办公室的x86与同一台PC上的x64 OLEDB访问驱动程序一起工作。这样做的另外3个人电脑和所有的工作,没有任何问题,现在。

I have replicated everything from working machine (PC-A) to my PC and i have entire Office x86 working together with x64 OLEDB Access drivers on same PC. Did this on 3 other PCs and all work with no problems for now.

关键是到2013年86先安装微软Office专业增强版,随后的 AccessDatabaseEngine_x64.exe 。它接缝的关键是,Access数据库引擎是Office 2010,办公室是2013年安装的顺序是先办。一台PC上的Office开始有些修理引擎安装后,没有任何问题,完成了它。现在还工作确定。

Key is to install MS Office Professional Plus 2013 x86 first, then AccessDatabaseEngine_x64.exe. It seams that key is that Access Database Engine is for Office 2010, Office is 2013 and installation order is Office first. On one PC Office started some repair after Engine installation and finished it with no problems. Now also works OK.

O =办公室,E = Access数据库引擎。 试图与O2013和E2013我以前不工作,试O2010和E2013,和O2010和同E2010,都失败了。 /被动选项来安装发动机无抱怨安装了86Ø损坏我的Ø安装目录和OS无法进行修复。所以很少尝试的组合和订单只有一个工作,并从操作系统,安装其他组件,这并没有引起投诉。

O = Office, E = Access Database Engine. Tried with O2013 and E2013 did't work, tried O2010 and E2013, and O2010 and same E2010, all failed. /passive option to install engine without complaining that x86 O is installed corrupted my O instalation and OS was unable to repair it. So of few tried combinations and orders only one worked, and this did not cause complaints from OS that other component is installed.

这篇关于Microsoft.ACE.OLEDB.12.0驱动程序用于基于x64的应用程序 - 如何使它工作,安装86的MS Office?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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