本文介绍了在“Microsoft.ACE.OLEDB.12.0'提供者未在本地计算机上的错误记录在Windows Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Excel的阅读器来读取Excel的内容,

I am using a excel reader to read contents from the excel,

  string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;
                 Data Source=" + filePath + ";Extended Properties=Excel 12.0;";
  System.Data.OleDb.OleDbConnection ExcelConnection 
                 = new System.Data.OleDb.OleDbConnection(connectionString);

我在VS2010在Windows 7旗舰版64位的安装工作。它工作正常在我的本地机器,当我与VS.运行当我上传的网站服务器,我得到了下面的错误。我应该怎么做在这里,我有机会到服务器。谢谢

I'm working in VS2010 on a windows 7 ultimate x64 installation.it works fine in my local machine when I run with VS. When I upload the website in server I get the following error. What should I do here, I have access to the server. Thanks

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. Error

:是否必须安装任何软件在我的服务器

: do I have to install any software in my server

推荐答案

是的。请注意,会有不同的版本取决于您是否在32位或64位的架构上运行。

Yes. Be aware that there will be different versions dependent on whether you are running on 32 or 64 bit architecture.

该供应商可以在这里下载:

The providers can be downloaded here:

<一个href="http://www.microsoft.com/download/en/details.aspx?id=13255">http://www.microsoft.com/download/en/details.aspx?id=13255

这篇关于在“Microsoft.ACE.OLEDB.12.0'提供者未在本地计算机上的错误记录在Windows Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 11:14