相信用過IIS7的朋友在調(diào)試程序的時候都遇到過下面這樣的錯誤提示:
An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error.
其實(shí)這是IIS7對ASP程序發(fā)送的一個腳本錯誤消息,只要是程序中有錯誤就會出現(xiàn)這樣的錯誤提示,所以關(guān)鍵的一步是要將具體的錯誤顯示出來,方法如下:
1、打開控制面板→管理工具→Internet 信息服務(wù)(IIS)管理器→雙擊“ASP”圖標(biāo)
2、在左邊的窗口中找到你的網(wǎng)站,然后在右邊的窗口中展開“調(diào)試屬性”,把“將錯誤發(fā)送到瀏覽器”設(shè)為True即可,相關(guān)截圖如下所示:
新聞熱點(diǎn)
疑難解答
圖片精選