The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine 解决办法
来源:互联网 发布:双11淘宝客服总结 编辑:程序博客网 时间:2024/05/16 12:21
64位操作系统中使用OLEDB去访问access数据库,出现 The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine 错误提示。
在网上查找资料,大多数解决办法如下:
如果是WebSite且是IIS6键入以下命令启用 32 位模式:cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1如果是IIS7appcmd list apppool /xml | appcmd set apppool /in /enable32BitAppOnWin64:true具体资料,参考:http://www.cnblogs.com/goodspeed/archive/2009/02/05/1384476.html
但是上面的方法使用之后,会出现“Service Unavalable”的错误,连接池会自动关闭。
安装AccessDatabaseEngine,下载地址:http://www.microsoft.com/download/en/details.aspx?id=13255使用此下载:1.如果您是应用程序用户,请查阅应用程序文档以获得有关如何使用相应驱动程序的详细信息。2.如果您是使用 OLEDB 的应用程序开发人员,请将 ConnectionString 属性的 Provider 参数设置为“Microsoft.ACE.OLEDB.12.0”◦如果要连接到 Microsoft Office Excel 数据,请将“Excel 14.0”添加到 OLEDB 连接字符串的扩展属性中。3.如果您是使用 ODBC 连接到 Microsoft Office Access 数据的应用程序开发人员,请将连接字符串设置为“Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=path to mdb/accdb file”4.如果您是使用 ODBC 连接到 Microsoft Office Excel 数据的应用程序开发人员,请将连接字符串设置为“Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};DBQ=path to xls/xlsx/xlsm/xlsb file”这种方法可以解决问题
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine 解决办法
- The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine (zz)
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine
- The 'Microsoft.Jet.OleDb.4.0' provider is not registered on the local machine
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
- 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. 解决方法
- he 'Microsoft.Jet.OleDb.4.0' provider is not registered on the local machine
- Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine
- The 'microsoft.jet.oledb.4.0' provider is not registered on the local machin 的解决方案
- 出现The 'microsoft.jet.oledb.4.0' provider is not registered on the local machin 问题解决方案
- 在64位系统下连接Access数据库的问题The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine
- Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local
- Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local
- Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local
- The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local Machine 完美解决
- css和masterpage开发,部署
- 网络间数据传输
- [设计模式as3版]五.工厂方法
- sql查询 竖排变横排及横排变竖排显示 行列转换问题
- Hadoop序列化文件SequenceFile
- The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine 解决办法
- apt-get build-dep不用去纠结那些库的问题
- 你所不知道的五件事情--Java集合框架API(第一部分)
- spring MVC 注解版环境搭建流程-注意可以不需要配置 <listener><contenxt-param>两者不相干
- 关于DIV高度居中问题
- socket编程:SO_REUSEADDR例解
- 【Linux】查看Apache的并发请求数及其TCP连接状态
- Hbase性能优化
- Django startproject的问题