HttpError will not show custom error pages

前端 未结 5 1308
独厮守ぢ
独厮守ぢ 2020-12-31 09:46

I\'ve got this in the web.config:


  
  

        
5条回答
  •  甜味超标
    2020-12-31 10:13

    If you are using ExecuteURL, the custom error page path must be in the same application pool as the application itself.

    For architectural reasons, IIS 7.0 can only execute the URL if it is located in the same Application Pool. Use the redirect feature to execute a Custom Error in a different Application Pool.

提交回复
热议问题