Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local
2012-01-20 16:45
423 查看
在服务器上部署项目的时候遇到如下错误: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local
服务器是 win2008 64位的,找了半天原因,网上说最多是编译的时候选择cpu类型,选用32位的也就是那个x86,试了一下,不行。
导致这个错误主要有几个原因:
1.服务器上没有装 ms excel 的驱动 不存在dll 和组件Microsoft.Jet.OLEDB.4.0 。
2.IIs中应用程序池设置的是64模式.那个Microsoft.Jet.OLEDB.4.0是32位的。
3.Microsoft.Jet.OLEDB.4.0组件被破坏了。
解决办法:
针对情况1,只要服务器上装了office excel就个驱动就装上了,如果服务上没有装也必要装一个office 可以单独下一个驱动。
到这里下:http://www.microsoft.com/download/en/details.aspx?id=13255
针对情况2,只要在IIs里把应用程序池设置一下属性就可以了。如下图:
情况3:把dll卸载掉再重新注册一下,如果想偷懒就重新装一下吧。dll详细信息看:http://support.microsoft.com/kb/239114/zh-cn
文章的原文:http://blog.nkadesign.com/2008/windows-2008-the-microsoftjetoledb40-provider-is-not-registered-on-the-local-machine/
服务器是 win2008 64位的,找了半天原因,网上说最多是编译的时候选择cpu类型,选用32位的也就是那个x86,试了一下,不行。
导致这个错误主要有几个原因:
1.服务器上没有装 ms excel 的驱动 不存在dll 和组件Microsoft.Jet.OLEDB.4.0 。
2.IIs中应用程序池设置的是64模式.那个Microsoft.Jet.OLEDB.4.0是32位的。
3.Microsoft.Jet.OLEDB.4.0组件被破坏了。
解决办法:
针对情况1,只要服务器上装了office excel就个驱动就装上了,如果服务上没有装也必要装一个office 可以单独下一个驱动。
到这里下:http://www.microsoft.com/download/en/details.aspx?id=13255
针对情况2,只要在IIs里把应用程序池设置一下属性就可以了。如下图:
情况3:把dll卸载掉再重新注册一下,如果想偷懒就重新装一下吧。dll详细信息看:http://support.microsoft.com/kb/239114/zh-cn
文章的原文:http://blog.nkadesign.com/2008/windows-2008-the-microsoftjetoledb40-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 7 x64/Windows 2008 : The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine.
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- '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.14.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.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.Jet.OLEDB.4.0' provider is not registered on the local machine.报错解决办法
- 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 完美解决
- The ‘Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine. (System.Data)
- Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine erro
- 关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理
- Solution: 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 (zz)
- Excel导入数据库错误:The 'Microsoft.ACE.OLEDB.14.0' provider is not registered on the local machine