asp IIS部署An error occurred on the server when processing the URL错误提示解决

时间:2023-08-04 23:17:28
asp IIS部署An error occurred on the server when processing the URL错误提示解决

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.

其实这是 IIS7ASP 程序发送的一个脚本错误消息,只要是程序中有错误 就会出现这样的错误提示,所以关键的一步是要将具体的错误显示出来,那么要怎么设置才可以呢,其实很简单,下面是操作步骤:

1、打开控制面板→管理工具→Internet 信息服务(IIS)管理器→双击 “ASP”图标,相关截图如下所示:

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

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

 转载于:http://blog.csdn.net/zhensoft163/article/details/7434128