关于异常“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?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
3.在32位系统中可以在数据库中看见这个provider。
4.在64位系统中不能看见它,这时需调用
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\DTExec.exe
来执行package。

解决方案:

1、打开IIS管理器

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

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

‘Microsoft.ACE.OLEDB.12.0‘ provider is not registered on the local machine鈥澋拇" alt="关于异常鈥淭he ‘Microsoft.ACE.OLEDB.12.0‘ provider is not registered on the local machine鈥澋拇" src="http://s9.sinaimg.cn/middle/64008ed7gb377f5371098&690">

复制的别人的,帮忙解决了问题,原文地址

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

时间: 2024-08-14 08:48:01

关于异常“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. 异常处理

导入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 o

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. (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”提供程序解决办法 错误信息:未在本地计算机上注册“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 请求期间,出现未处理的异常.请检查堆栈

未在本地计算机上注册“Microsoft.Ace.OleDB.12.0”

这是异常 我的电脑室x86的所以选择x86. 未在本地计算机上注册"Microsoft.Ace.OleDB.12.0",布布扣,bubuko.com

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

提示未在本地计算机上注册"Microsoft.ACE.OLEDB.12.0"提供程序,程序中出现这样的提示原因有很多种,这里我想记录的只是其中一种情况,具体如下: 当操作系统为64位的操作系统时,如果没有对程序集进行设置,使用默认编译配置的话会产生表示所示的提示信息.此时我们需要做的就是将应用程序属性中输出类型为应用程序的那个项目属性进行相应修改,将目标平台设置为Any CPU,并且将首选 32位(P)的默认勾选状态去掉,重新编译运行就不会出现标题提示的异常信息了. 以上操作前提是计算