在经典的 asp 网站上看不到错误 [英] Can't see the errors on classic asp sites

查看:25
本文介绍了在经典的 asp 网站上看不到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将某些网站从 Windows 2003 Server 迁移到 2008.有些网站在我访问时显示空白页.

There are sites that I am trying to migrate from Windows 2003 Server to 2008. Some of the sites shows blank pages when I visit them.

显然有错误,但我什么都看不到.

Obviously there are errors but I can't see anything.

我已经启用了客户端错误和详细的错误页面,但没有运气.

I already enabled client side errors and detailed error pages but no luck.

有什么想法吗?

推荐答案

所以只是为了确保你做到了所有这些:

So just to make sure you did all of this:

  1. 在 IIS 中的调试属性下,您设置:Send Errors to BrowserTrue.
  2. Error Pages 下的 IIS 中,您将设置设置为 Detailed Errors.
  3. 将网站文件夹的写入权限授予 IIS_ISRS 内置组
  4. 检查了所有源代码,例如:On Error Resume NextOn Error GoToIf Err.Number.李>
  5. 如果使用 Internet Explorer,您必须在 Tools/Internet Options/AdvancedBrowsing 部分中禁用 Show Friendly HTTP Error Messages取消选中/禁用 显示友好的 HTTP 错误消息.
  1. In IIS under Debugging Properties you set: Send Errors to Browser to True.
  2. In IIS under Error Pages you set the settings to Detailed Errors.
  3. Give write permissions on the website folder to the IIS_ISRS builtin group
  4. Checked all of the source code for something like: On Error Resume Next, On Error GoTo or If Err.Number.
  5. If using Internet Explorer you have to disable Show Friendly HTTP Error Messages in located in Tools/Internet Options/Advanced Under the Browsing section uncheck/disable Show Friendly HTTP Error Messages.

这篇关于在经典的 asp 网站上看不到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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