503 Service unavailable is not handle by any IIS error pages or ASP.net Error page

I'm trying to go custom error when my error code is 503 but its not redirecting . for other code its working fine . But when I stop application pool I m getting 503 service unavailable error page. I want to redirect my customize error page. I tried with both ASP.NET error page as well as IIS Error page. its working for all other error code.

 <httpErrors errorMode="Custom" existingResponse="Replace"> <remove statusCode="404" subStatusCode="-1" /> <remove statusCode="503" subStatusCode="-1" /> <error statusCode="503" prefixLanguageFilePath="" path="" responseMode="Redirect" /> <error statusCode="404" prefixLanguageFilePath="" path="" responseMode="Redirect" /> </httpErrors> 

1 Answer

You cannot customize Error page this for 503 because it occurs due to APP Pool crashing Check Here

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like