·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> 网站建设开发 >> ASP.NET网站开发 >> Win7/8出现An error occurred on the server when processing the URL解决办法

Win7/8出现An error occurred on the server when processing the URL解决办法

作者:佚名      ASP.NET网站开发编辑:admin      更新时间:2022-07-23

Win7/8出现An error occurred on the server when PRocessing the URL解决办法

报错:An error occurred on the server when processing the URL. Please contact the system administrator.

SJY使用的是win8系统搭建的本地服务器,win7使用的方法是相同的。如果你的系统是精简版的Win7/8,那么安装IIS7也有可能出现这问题。下面SJY带领大家来解决这个错误。

解决方法

打开控制面板→管理工具→Internet 信息服务(IIS)管理器→在左边的窗口中找到并点击你的网站→双击右边的“asp”图标。

然后在右边的窗口中展开“调试属性”,把“将错误发送到浏览器”设为True,然后点右侧的应用即可。

通过以上设置后,再从浏览时打开出错ASP页面时就能看到页面出错的详细信息,方便调试。如果是公开的Web服务器建议不要打开此选项,以防出错信息被他人利用。

通常出现上述的原因是因为没有开启父路径,在“调试属性”下方有一个”行为“-“启动父路径”设置为True即可。

转自:http://www.sjyhome.com/an-error-occurred-on-the-server-when-processing-the-url.html