在经典的 asp 网站上看不到错误 [英] Can't see the errors on classic asp sites
本文介绍了在经典的 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:
- 在 IIS 中的调试属性下,您设置:
Send Errors to Browser
到True
. - 在
Error Pages
下的 IIS 中,您将设置设置为Detailed Errors
. - 将网站文件夹的写入权限授予 IIS_ISRS 内置组
- 检查了所有源代码,例如:
On Error Resume Next
、On Error GoTo
或If Err.Number
.李> - 如果使用 Internet Explorer,您必须在
Tools/Internet Options/Advanced
的Browsing
部分中禁用Show Friendly HTTP Error Messages
取消选中/禁用显示友好的 HTTP 错误消息
.
- In IIS under Debugging Properties you set:
Send Errors to Browser
toTrue
. - In IIS under
Error Pages
you set the settings toDetailed Errors
. - Give write permissions on the website folder to the IIS_ISRS builtin group
- Checked all of the source code for something like:
On Error Resume Next
,On Error GoTo
orIf Err.Number
. - If using Internet Explorer you have to disable
Show Friendly HTTP Error Messages
in located inTools/Internet Options/Advanced
Under theBrowsing
section uncheck/disableShow Friendly HTTP Error Messages
.
这篇关于在经典的 asp 网站上看不到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文