occurred 打開網(wǎng)頁出現(xiàn)an error occurred. 什么原因 如何解決;訪問網(wǎng)站提示An error occurred on the server when processing the URL的解決方法; 提示錯誤圖:
現(xiàn)在網(wǎng)際電腦介紹An error occurred on the server when processing the URL. Please contact the system administrator提示的解決方法如下:
這個就說明了你的iis7或iis7.5的下的網(wǎng)站有錯誤。只要找到具體的信息就可以了,跟iis6下的經(jīng)典提示錯誤一樣的。
解決方法:An error occurred on the server when processing the URL. Please contact the system administrator
在WINDOWS7或SERVER2008上安裝了IIS7.5,調(diào)試ASP程序時出現(xiàn)以下錯誤:
An error occurred on the server when processing the URL. Please contact the system administrator
解決方法如下:
設(shè)置方法一:
以管理員身份運(yùn)行CMD,將目錄定位到%windir%\system32\inetsrv\,然后執(zhí)行appcmd set config -section:asp -scriptErrorSentToBrowser:true。
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
設(shè)置方法二:
打開IIS7的asp設(shè)置,展開“調(diào)試屬性”選項,“將錯誤發(fā)送到瀏覽器”這項默認(rèn)的是False,改為True,然后點右側(cè)的應(yīng)用!如圖所示:
我們可以通過如圖以上設(shè)置后,再從瀏覽時打開出錯ASP頁面時就能看到頁面出錯的詳細(xì)信息,方使調(diào)試。如果是公開的Web服務(wù)器建議不要打開此選項,以防出錯信息被他人利用始網(wǎng)站不安全!