解決方法:An error occurred on the server when processing the URL. Please contact the system administrato
在WINDOWS7或SERVER2008上安裝了IIS7.5,調試ASP程序時出現以下錯誤:
An error occurred on the server when processing the URL. Please contact the system administrator
解決方法如下:
設置方法一:
以管理員身份運行CMD,將目錄定位到%windir%\system32\inetsrv\,然後(hòu)執行appcmd set config -section:asp -scriptErrorSentToBrowser:true。
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
設置方法二:
打開IIS7的asp設置,展開“調試屬性”選項,“將錯誤發送(sòng)到瀏覽器”這項默認的是False,改為True,然後點右側的應用!如圖所示(shì):
通過以上設置後,再(zài)從瀏覽時打開出(chū)錯ASP頁麵時就能看到頁麵出錯的詳細信(xìn)息,方使調試。如果是公開的Web服務器建(jiàn)議不要打(dǎ)開此選項,以防出錯信息被他(tā)人利用。
關鍵詞:解決方法,IIS7.5,ASP
閱讀本(běn)文後您有什麽感想? 已有 人給(gěi)出(chū)評價!
- 1
- 1
- 1
- 1
- 1
- 1