在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