解决方法:An error occurred on the server when processing the URL. Please contact the system administrato
在🏽WINDOWS7或【huò】🏣SERVER2008上安装了【le】IIS7.5,调试ASP程序时【chéng xù shí】🏡出现以下错误:
An error occurred on the server when processing the URL. Please contact the system administrator
解决方法如下:
设置方法一:
以管理【yǐ guǎn lǐ】员身份🧗运行🤮CMD,将目录🚼定位到【dìng wèi dào】%windir%\system32\inetsrv\,然后执【rán hòu zhí】行appcmd set config -section:asp -scriptErrorSentToBrowser:true。
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
设置方法二:
打开IIS7的【de】❕asp设置👨,展开“调试属🛶性”选项【xuǎn xiàng】,“将错误🌸发送到浏览器”这项默认的【rèn de】❕是False,改为😧True,然后点【rán hòu diǎn】右侧的【yòu cè de】🚎应用【yīng yòng】!如图所示:
通过以【tōng guò yǐ】👒上设置后【hòu】,再从浏🗜览时打【lǎn shí dǎ】🖥开出错ASP页面时⏲就能看【jiù néng kàn】到页面【dào yè miàn】出错的【chū cuò de】详细信【xiáng xì xìn】息🚌,方使调🆓试【shì】。如果是公开的🎀Web服务器建议不要打开此选项,以防出错信息🎒被他人利用。
关键词:解决方法,IIS7.5,ASP
阅读本文后您有什么感想? 已有 人给出评价!
- 1
- 1
- 1
- 1
- 1
- 1