关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 异常处理

导入Excel在本地环境没有问题,但部署到服务器上后出现异常。

经排查,是系统问题,因为本地是32位系统,而服务器上则是64位系统。

解决方法:

1、打开IIS管理器

2、右击应用程序所在的连接池

3、修改“启用32为应用程序”为true

感谢:http://www.cnblogs.com/dwfbenben/archive/2011/12/13/2286058.html

关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 异常处理

时间: 2024-07-28 22:53:23

关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 异常处理的相关文章

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

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. 1.在用SQL SERVER 2005访问.xlsx文件(office2007&2010文件格式)时,必须用provider 'Microsoft.ACE.OLEDB.12.0' 来实现.2.首先要安装AccessDatabaseEngine.exe.下载路径:http://www.microsoft.com/downloads/deta

关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理

我们在利用SqlBlukcopy技术倒2010 或者2007格式的文件到SqlServer 数据库的时候,会发生如下错误: 原因如下: 1.在用SQL SERVER 2005访问.xlsx文件(office2007&2010文件格式)时,必须用provider 'Microsoft.ACE.OLEDB.12.0' 来实现.2.首先要安装AccessDatabaseEngine.exe.下载路径:http://www.microsoft.com/downloads/details.aspx?fam

The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine. (System.Data)

When you try to import Excel 2007 or later “.xlsx” files into an SQL Server 2008 database you may get the following error mesage : The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine. (System.Data) To solve this problem ins

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

Solution 1:You are getting this error because the Jet driver you have installed need 32 bit OS & system to function, Here’s how to update to a new 64-bit compatible database engine: 1/ Download the Microsoft Access Database Engine 2010 Redistributabl

EXCEL数据匹配:The 'Microsoft.Jet.Oledb.4.0' provider is not registered on the local machin

百度的处理结果: 作者:LisenYang http://blog.csdn.net/lisenyang/article/details/52106492 这篇博文里面说的,默认设置修改[启动32应用程序]为true没什么用,还是得高级设置那边修改的.当然如果是新建一个应该是可以的,毕竟默认设置就相当于初始化的意思了. 今天上传excel的时候,碰到个问题, The 'Microsoft.Jet.Oledb.4.0' provider is not registered on the local

The 'microsoft.jet.oledb.4.0' provider is not registered on the local machin

1,2选取目标站点,然后3的高级设置,4启用32位的应用程序的属性变为true就可以了.当然,网络上还有其他的版本,你也可以尝试下. 原文地址:http://weblogs.asp.net/kencox/archive/2010/05/20/asp-net-iis-fix-the-microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine.aspx The 'microsoft.jet.oledb.4.0' pr

Microsoft ACE OLEDB 12.0概念及用法

首先需要清楚几个概念: Database engine(数据引擎):一些预先存储于数据库中的组件: Microsoft JET (Joint Engine Technology):Microsoft Jet 数据引擎,1992年发行初版,主要运用于 Microsoft Accesss的数据连接,Jet引擎,仅能访问 Office97-2003: Microsoft ACE(Office Access Connectivity Engine ):随着Access 2007发布之后, Microso

未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序解决办法 错误信息:未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序。

解决办法: 去http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe下载.然后安装就行了. 本错误是由于你使用了ACCESS2007版本建立的数据库,但服务器中没有相配合使用的程序,所以出错. 未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序. 说明: 执行当前 Web 请求期间,出现未处理的异常.请检查堆栈

System.InvalidOperationException: 未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序。

最近用MVC3 做了一个项目,发布时项目的中的数据导入功能(Excel格式,有固定的导入数据模板)居然不能用,查看报错日志,发现是“System.InvalidOperationException: 未在本地计算机上注册“Microsoft.ACE.OLEDB.12.0”提供程序............”. 在网上找一些资料,把问题解决了.如下图所示. 后台功能代码:导入与导出实现代码. 1 #region -使用IO写入Excel- 2 /// <summary> 3 /// 使用IO写入E