解决方法:An error occurred on the server when processing the URL. Please contact the system administrator
在【zài】🚻WINDOWS7或🚙SERVER2008上安装【shàng ān zhuāng】了【le】IIS7.5,调试ASP程序时出现以💱下错误:
An error occurred on the server when processing the URL. Please contact the system administrator
解决方法如下:
设置方法一:
以管理员身份📲运行CMD,将目录【jiāng mù lù】🏹定位到【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
设置方法二:
打开【dǎ kāi】🍶IIS7的👩asp设置🎍,展开“调试属性🎰”选项【xuǎn xiàng】,“将错误发送到浏览器🌽”这项默【zhè xiàng mò】🤯认的👩是False,改为【gǎi wéi】True,然后点右侧的👩应用【yīng yòng】!如图所示【shì】:
通过以🍋上设置【shàng shè zhì】后【hòu】,再从浏【zài cóng liú】览时打开出错ASP页面时🤔就能看👅到页面【dào yè miàn】出错的【chū cuò de】详细信息🤼,方使调试【shì】。如果是🌎公开的🎛Web服务器【fú wù qì】建议不要打开🤽此选项,以防出错信息🤼被他人🛤利用【lì yòng】。
关键词:解决方法
阅读本文后您有什么感想? 已有 人给出评价!
- 23
- 234
- 27
- 219
- 55
- 545