绿色资源网

电脑版
提示:原网页已由神马搜索转码, 内容由www.downcc.com提供.
您的位置:首页操作系统windows→ 解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

我要评论2015/05/05 13:08:04 来源:绿色资源网编辑:绿色资源网 评论:0点击:17614次

在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误:

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

解决方法如下:

设置方法一:

以管理员身份运行CMD,将目录定位到%windir%\system32\inetsrv\,然后执行appcmd set config -section:asp -scriptErrorSentToBrowser:true。

%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true

设置方法二:

打开IIS7的asp设置,展开“调试属性”选项,“将错误发送到浏览器”这项默认的是False,改为True,然后点右侧的应用!如图所示:

解决方法:An error occurred on the server when processing the URL. Please contact the system administrator

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

关键词:解决方法

相关阅读

阅读本文后您有什么感想? 已有 人给出评价!

  • 23

  • 234

  • 27

  • 219

  • 55

  • 545

用户评论

热门评论

最新评论

发表评论查看所有评论(0)

昵称:
请不要评论无意义或脏话,我们所有评论会有人工审核.
字数: 0/500(您的评论需要经过审核才能显示)

相关软件

热点图文

更多+

精品软件