1

This is my first question :)

Is there any way to create a cutomised 503 error page in IIS7. Form what I have read, this error page is served up internally by http.sys and cannot be overriden. This is confirmed at the top of this page.

However, I have seen Questions on Stackoverflow where this is apparently possible, but I have had no luck trying to implement it. Could anyone give me a definitive answer?

Thanks in advance.

Community
  • 1
  • 1
juju
  • 449
  • 5
  • 16

1 Answers1

2

Sadly, the TechNet article is accurate - there is no way to replace 503 for the scenario you describe.

The error is detected by the IIS server as it attempts to hand the incoming request to your application. Everything your application does is performed in its app pool. Modules like rewrite rules and custom HTTP responses are all executed in this way.

If your application has no app pool to run in, it unavailable to do any custom processing: there is essentially no code running for your application.

Paul Turner
  • 38,949
  • 15
  • 102
  • 166