IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法

自助开通VIP,整站资源任意下载

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

前提在ie选项中去掉 显示友好HTTP页面信息

在IIS7上调试程序时,如果程序有错误,默认情况下,会提示:An error occurred on the server when processing the URL. Please contact the system administrator.

在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图标,如下图所示:IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法,IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法-第1张,ASP,网页,第1张

二、展开右侧配置中的“调试属性”,把“将错误发送到浏览器”的值设为 "true",如图所示:IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法,IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法-第2张,ASP,网页,第2张

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

本站源码仅做学术研究,自娱自乐使用,不得用于赌博性质的非法商业用途!转载请说明出处!
九牛资源网 » IIS 7.0 网页An error occurred on the server when processing the URL错误提示的方法

这里有你所需要的,找专业的人做专业的事!

游戏演示 联系客服