IIS7.5 An error occurred on the …

今天在Windows 7下进行asp开发的时候就碰到一个这样的问题;

 

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.

进过我的分析,其实这个并不是什么错误,只不过是在IIS 7.5设置的一个向客户端发送的一个错误提示,

我们只要到

控制面板==》管理工具==》Internet 信息服务(IIS)管理器==》出错文件所在的站点==》

                     ||
                     || ==》 展开调试属性==》把“将错误发送到浏览器”的值设为 "true"
双击ASP==》||
                     || ==》展开行为==》把“启用父路径” 的值设为 "true"
                     ||


这样之后,浏览器就会显示你的代码程序出错之处了,就不会出现

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.5和IIS6.0一样,默认是没有启用父路径的,该项如果不启用的话,就会使类似"../"

的引用找不到路径·............

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值