IIS提示An error occurred on the server when processing the URl.Please contact the system administrator.如何处理
调试IIS中的网站,一般都去掉了IE中显示“显示友好HTTP页面信息”,今天在IIS7中调试程序时出错,提示“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"即可,如下图所示: