IIS7 An error occurred

在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,然后点右侧的应用!如图所示:

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

时间: 2024-08-03 06:55:34

IIS7 An error occurred的相关文章

解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法

在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.点

解决IIS7运行ASP提示错误:An error occurred on the server when processing the URL. Please contact the system administrator

原文:解决IIS7运行ASP提示错误:An error occurred on the server when processing the URL. Please contact the system administrator 在WINDOWS7或SERVER2008上安装了IIS7,调试ASP程序时出现以下错误: An error occurred on the server when processing the URL. Please contact the system admini

iis7错误提示An error occurred on the server when processing the URL...

win7下面运行ASP程序总是出错,原来是站点配置的问题... 问题一:MS Jet引擎改变了临时目录的位置,但是又没有对临时目录的存取权限,导致数据库使用失败(因为sql问题,后改用access数据库测试). 解决办法: 给“系统盘:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp”目录添加一个“Authenticated Users”的用户,其中AppData目录是隐藏的,在进入的时候可以直接在地址栏输入路径,或者在文件夹选

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

在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 -script

解决Windows server 2012 R2 系统使用IIS8浏览Asp程序出现"An error occurred on the server when processing the URL"错误

进入IIS并将ASP里的“Send Error To Browser”设置为True后点击Appley保存即可 原因是IIS里的Asp设置禁用上当错误信息发送给浏览器,只要启用即可 如果没有Asp选项则需要在IIS里安装ASP(IIS8) 参考:IIS7中出现An error occurred on the server when processing the URL. 解决方法 来自为知笔记(Wiz)

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 IIS部署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.If you are the system administrator please click here to find out more about this error. 其实这是 IIS7 对 ASP 程序发送的一个脚本错误消息,只要是程序中有错误 就会出现这样的错误提示,所以关键的一步是要将具体

IIs 中运行asp程序出现“An error occurred on the server when processing the URL. Please contact the system administrator.”错误

在个人的win08系统上使用IIs运行 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里启用了父路径,

Error occurred during initialization of VM java/lang/NoClassDefFoundError

因工作需要,这两天一直在RedHat Linux下配置Tomcat6.在手动安装JDK并配置完环境变量后,报出很奇怪的问题: Error occurred during initialization of VM java/lang/NoClassDefFounction...出现此问题先检查环境变量配置是否正确 如果没问题就看一下lib和jre/lib中的rt.pack.tools.pack如果发现这两个文件的话,就是因为他们没有解压我们只需要把他们解压成rt.jar和tools.jar就一切O