IIS 7.0 doesn't display custom error pages

前端 未结 4 1364
太阳男子
太阳男子 2021-02-07 18:52

I\'m running an application that has its own error handlers. Error pages are displayed properly while testing in dev environment (error pages are displayed properly).
Howe

4条回答
  •  自闭症患者
    2021-02-07 19:25

    I found out that the section can let the request pass through. Then, my app can display my custom page. You can use these lines in your Web.Config:

    
      
    
    

    You can also read the extended version to know What to expect from IIS7 custom error module.

提交回复
热议问题