iis7 64位 access,Windows 2008 R2 64位 iis7+access的错误 '80004005'(HTTP 500 内部服务器错误)

来源:本站原创 浏览:4782次 时间:2017-11-21
做网站找雨过天晴工作室

在Windows 2003中运行正常的网站(Access数据库),在Windows 2008 R2 64位的系统中却出现如下错误:

HTTP 500 内部服务器错误


禁用“显示友好HTTP 错误信息”

An error occurred on the server when processing the URL. Please contact the system administrator. 
If you are the system administrator please click here to find out more about this error.
 

 

20111017044155160.jpg (761×280)

双击ASP--展开“调试属性”,把“将错误发送到浏览器”设为True

Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'

[Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序

/conn.asp,行 8 

 

错误的原因是:

        在64位系统中,IIS7应用程序池默认没有启用32位程序,也就是说如果你使用的是64位操作系统,而没有64位的Jet 4.0驱动程序,那么就要在IIS7中启用32位程序。

        打开网站对应的应用程序池的高级设置,在常规里有个选项【启用32位应用程序】,默认是False,改成 True吧,一试就OK了。