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 Redistributable, you can choose from the 32 bit or 64 bit version depending on your machine and install it on your server

http://www.microsoft.com/download/en/details.aspx?id=13255

2/ in your application or website code, update the connection string from “Provider=Microsoft.Jet.OLEDB.4.0; “  to  “Provider=Microsoft.ACE.OLEDB.12.0;”

3/ recompile and run your application

Solution 2:
To resolve this issue open the project in Visual Studio then:
 
1. From the solution explorer right-click your project then click Properties
2. Click the Build tab
3. Change Platform target from: Any CPU to x86
4. Re-build your solution

REF:
http://stackoverflow.com/questions/1991643/microsoft-jet-oledb-4-0-provider-is-not-registered-on-the-local-machine
http://www.cnblogs.com/qinii/archive/2011/11/07/2240327.html
https://social.msdn.microsoft.com/Forums/en-US/d5b29496-d6a1-4ecf-b1a4-5550d80b84b6/microsoftjetoledb40-32bit-and-64bit?forum=adodotnetdataproviders
http://www.codeproject.com/Questions/464072/The-Microsoft-Jet-OLEDB-provider-is-not-regist
http://www.codicode.com/art/64_bit_version_of_microsoft_jet.aspx

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

时间: 2024-08-06 16:06:47

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.的相关文章

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

关于 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”的处理

我们在利用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

64位操作系统下用Microsoft.Jet.OLEDB.4.0出现未注册错误

在WIN7 64位下用Microsoft.Jet.OLEDB.4.0方法访问数据库Access,出现未注册错误 如果是要建立64位的应用程序 1.Microsoft Access Database Engine 2010 Redistributable http://www.microsoft.com/downloads/zh-cn/details.aspx?FamilyID=C06B8369-60DD-4B64-A44B-84B371EDE16D 2.原来连接:Provider=Microso

Microsoft.Jet.OLEDB.4.0和Microsoft.ACE.OLEDB.12.0的区别

Microsoft.Jet.OLEDB.4.0和Microsoft.ACE.OLEDB.12.0的区别 时间 2012-12-19 20:30:12  CSDN博客原文  http://blog.csdn.net/xifeijian/article/details/8333396 在通过ADO对Excel对象进行连接时(此时Excel则认为是一个数据源),需要配置对Excel数据源对应的连接串,这个连接串中包括了 Provider 信息(其实类似对数据库进行连接操作时,都需要指定连接字符串),以

asp.net采用OLEDB方式导入Excel数据时提示:未在本地计算机上注册"Microsoft.Jet.OLEDB.4.0" 提供程序"

asp.net采用OLEDB方式导入Excel数据时提示:未在本地计算机上注册"Microsoft.Jet.OLEDB.4.0" 提供程序" 笔者在项目中做做了一个从Excel表格中导入数据的模块.大体上asp.net项目中导入Excel大体分成三类: 1)采用c#内置方案System.Data.OleDb(限制较小, 通用) 2)采用Excel的COM组件(会有版本问题) 3)采用伪Excel文件.即使用文本流的方式根据需求自己定义数据格式.同时在服务端进行反格式化 笔者采