Windows 2008R2 IIS7.5 下访问ASP网页报错的解决办法

在IIS7上配置一个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.

这个问题一般是由于关闭错误调试信息的问题,

父路径没有开启的原因:

1、点击网站,找到“IIS”下的“ASP”;


2、在“调试属性”中,将“将错误发送到浏览器”设置成“True”,这样如果遇到程序错误,错误信息就会提示在页面上了。

3、比如:如果提示是由于父路径未启用,那就就开启父路径。如果是其他错误,就依照提示进行程序

在“行为”里面“启用父路径”设置成“True”;


设置后重启网站,发现这个错误:

这个错误的解决方法:设置这个文件对应的用户权限即可




猜你喜欢

转载自blog.csdn.net/dmz1981/article/details/60961678