Custom Error Page for Http Error 503

前端 未结 4 873
死守一世寂寞
死守一世寂寞 2020-12-15 07:02

I need to send a Customized Error page for 503 Errors produced by my asp.net website. I have tried to simulate the condition by switching off the application pool (doesn\'t

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 07:58

    You cannot customise the default 503 Service Unavailable error message. This is returned typically when the app pool is unavailable for some reason.

    This description of when it occurs states that it comes directly from http.sys and everything on the internet seems to concur that it cannot be changed. I've looked at the http.sys registry settings and theres nothing useful there.

    http://technet.microsoft.com/en-us/library/cc781893(WS.10).aspx

提交回复
热议问题