在IIS7或是IIS7.5中要使用asp,當出現錯誤時是只會顯示
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.
如果想要debug的話,這樣子是看不出來的,
所以必須要在IIS的控制台中去更改設定,
找到下圖中的『將錯誤傳送到瀏覽器』,把『false』改成『true』,並按下『套用』就可以了。
記得把bug改好之後,再把此選項改回來預設值『false』,避免被看到錯誤點。
你或許會想要看:
- [wordpress] 取的某分類頁面的term_id
- [教學] ckeditor 4.3 開啟上傳圖檔與瀏覽檔案功能
- [wordpress] 取的文章內容的第一張圖語法
- [CodeIgniter] 取得 mysql 欄位資訊的編碼(Collation)、權限(Privileges)、註解(Comment)的欄位
- [jQuery] live() 事件失效的修改方法
- [wordpress] 如何依據文章不同格式(post-formats),載入不同的樣板(get_template_part)?
- [wordpress] 如何在後台自定背景圖、背景顏色?
- [wordpress] 如何新增選單 menu ?
- [wordpress] bloginfo() 使用方法
- [Bootstrap] 讓 Dropdown 選單有滑鼠移上(Hover)展開效果
搶先發佈留言