IIS 7.0 doesn't display custom error pages

前端 未结 4 1316
太阳男子
太阳男子 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:30

    Well It turned out that in order to force IIS 7 to show custom pages the following lines should be added to web.config file.

    Put in system.webServer section

     
    
    
    

提交回复
热议问题