IIS 7 Windows Server 2008 64 位 32 位模式下的经典 ASP [英] Classic ASP on IIS 7 Windows Server 2008 64 Bit in 32-bit mode

查看:24
本文介绍了IIS 7 Windows Server 2008 64 位 32 位模式下的经典 ASP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在运行 II7/Win 2008 的 Win64 机器上设置一个旧的 ASP 站点.

I need to setup an old ASP site on our Win64 box that is running II7/Win 2008.

该站点在 MS Access 数据库上运行(没有升级数据库的选项),因此由于 MS Access 64 位驱动程序问题".我已通过 IIS 应用程序池将站点设置为以 32 位模式运行,这应该允许我使用 32 位 MS Access 驱动程序吗?

The site runs on an MS Access database (no option to upgrade the db), so due to the MS Access 64-bit driver 'issue'. I've set the site to run in 32-bit mode via the IIS Application Pool, which should allow me to use the 32-bit MS Access drivers?

但是一旦我将站点切换到 32 位模式,我就会得到:

But as soon as I switch the site to 32-bit mode I get:

HTTP 错误 500.19 - 内部服务器错误

HTTP Error 500.19 - Internal Server Error

我可以在 64 位模式下正常运行经典的 ASP 代码(没有任何数据库连接),但 32 位模式似乎完全杀死了网站.

I can run classic ASP code fine (without any db connections) in 64-bit mode, but 32-bit mode seems to kill the site completely.

推荐答案

在 IIS 中,进入站点并双击右侧窗格中的 ASP 以获取配置,现在将启用客户端调试设置为 TRUE 并还将错误发送到浏览器为 TRUE.

In IIS, go into the site and double click on ASP in the right hand pane to get the config up, now set Enable Client-side Debugging to TRUE and also Send Errors to Browser to TRUE.

现在要准确查看错误是什么,然后在 IE 或任何浏览器中的 server 2008 框上加载站点的 localhost 页面,您现在应该会看到一条正确的错误消息,您可以设置该消息进行修复.

Now to see exactly what the errors are then load the localhost page of the site up on the server 2008 box in IE or whatever browser, you should now see a proper error message which you can set about fixing.

看看这里 - http://blogs.iis.net/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx有几种情况说明了为什么会发生此错误,并针对每种情况进行了多种修复,您可能会找到一种可以解决问题的方法.

Have a look here - http://blogs.iis.net/webtopics/archive/2010/03/08/troubleshooting-http-500-19-errors-in-iis-7.aspx it has several scenarios of why this error occurs and several fixes for each, you may find one that will do the trick.

这篇关于IIS 7 Windows Server 2008 64 位 32 位模式下的经典 ASP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆