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

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