Windows Server 2008 r2 64bit上运行Asp+Access程序时出现如下错误:
ADODB.Connection error ‘800a0e7a’

Provider cannot be found. It may not be properly installed.
原因是64位的iis无法兼容32的jet引擎
网上找到解决办法:
需要让iis以32为的方式运行,只要在命令行输入一下命令 cscript C:\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 之后IIS就会以32位方式来运行了。
此方法在windows 7 beta上失败
正确解决办法:
以管理员身份运行命令行
转到C:\Inetpub\AdminScripts
运行 cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
出现Enable32BitAppOnWin64           : (BOOLEAN) True 即表示成功
运行iisreset
完成。
重新打开网站,一切使用正常!~

相关文章:

  • 2022-02-17
  • 2021-11-10
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2021-10-03
  • 2022-12-23
  • 2021-05-15
  • 2021-07-23
  • 2022-12-23
相关资源
相似解决方案