500错误解决 调试ASP程序错误An error occurred on the server when processing the URL

来源:互联网 发布:mac文件怎么转word 编辑:程序博客网 时间:2024/06/05 14:20


网页出现500错误无法打开,可通过设置调试属性来显示错误!


在浏览器本地打开asp网页http://localhost/出现这个情况:
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.

解决方法:直接上图:

个人网站文章来源:http://www.yangzhenggen.cn

打开IIS7的asp设置,展开“调试属性”选项,“将错误发送到浏览器”这项默认的是False,改为True,然后点右侧的应用!


通过以上设置后,再从浏览时打开出错ASP页面时就能看到页面出错的详细信息,方使调试。如果是公开的Web服务器建议不要打开此选项,以防出错信息被他人利用。


文章来源:http://www.yangzhenggen.cn


原创粉丝点击