12
2014
07

解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法

       在IIS7上调试程序时,如果程序有错误,默认情况下,会提示:

使用IIS建asp网站时候提示500错误,找到的方法就是这个!

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. 

其实这是IIS7对ASP程序发送的一个脚本错误信息,只要是程序中有错误,就会出现这样的提示。下面的方法是将具体的错误信息显示出来。

一、打开 Internet 信息服务(IIS)管理器。点击出错的站点,并双击右边的ASP图标,如下图所示:

 

二、展开右侧配置中的“调试属性”,把“将错误发送到浏览器”的值设为 "true",如图所示:

 

题外话:一般ASP程序中,建议将启用父路径设为True

« 上一篇下一篇 »

评论列表:

1.屠龙  2014/7/13 20:52:41 回复该留言
了解了。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。