Re: How to customize "server too busy" error page?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I did that, actually the "too busy" error should be a 500;13 error.
Customizing this (and all 500 errors) did not do anything. It looks
like ASP.Net is outputing the error page and IIS is delivering it with
no hesitation (and no error code in the HTTP header).

An additional problem is that I cannot really provoke the 500;13 error
for testing, although there is an approach here:

http://blogs.msdn.com/rahulso/archive/2006/09/08/How-to-repro-_2200_Server-Too-Busy_2200_-Errors_3F00_.aspx

But that only got me "Service Unavailable" error. I am about to give up
on the topic, we did not see too many "too busy" errors lately. Maybe
the only way is to capture the page with a (hardware) proxy and replace
the Html when there are certain keywords in the page.

Alvin Bruney [MVP] schrieb:

Oh ok I see what you are saying.
Run inetmgr from a command prompt, navigate to your root website,
right-click and select properties. Under the custom error tab, scroll down
to the 500 HTTP error and double click it. Change it from default to url.
Enter a valid url pointing to a resource that contains a nice error message.
Document that change somewhere please so developers have an idea what is
happening.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc


"DC" <dc@xxxxxxxxx> wrote in message
news:1169472157.389966.66090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
By "more complex page" I was only referring to the fact that the
"server too busy" error page is a typical framework error page, as
opposed to "service unavailable" which is minimal for a cause. I want
to present a lean custom page instead and it looks as if I can't.
Typically one can configure custom error pages like

<configuration>
<system.web>
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly">
<error statusCode="500"
redirect="InternalError.htm"/>
</customErrors>
</system.web>
</configuration>

but it looks like there is no way to customize the "server too busy"
message and I think that's unprofessional. At least I have a hard time
explaining these error pages to my customer.

Alvin Bruney [MVP] schrieb:

am forced to possibly return a more complex framework error page

Not following you. This can be any page, html or aspx. I don't see the
complexity. If you want to catch IIS you probably need to implement some
sort of script hooked in to IIS - more work than is justifiable.
Respectfully, I suggest digging your head in the sand on this one after
mapping a custom page.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc


"DC" <dc@xxxxxxxxx> wrote in message
news:1169412461.148338.311700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you. Is there no way to get a grip on the "server too busy" page
or implement a redirect into that page - no matter where in the
pipeline the error occurs? I mean, is the page hardcoded into a dll?

I understand that a "service unavailable" message may appear if IIS is
simply unable to return anything else, but I cannot understand that I
am forced to possibly return a more complex framework error page
without any options to customze / hide it. That looks really crappy in
a professional application.

Alvin Bruney [MVP] schrieb:

You should be able to map a custom error page in the web config file
and
filter by error codes. Unfortunately, depending on when the error
occurs,
before it hits the pipeline, it may not be redirected to the error
page.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc


"DC" <dc@xxxxxxxxx> wrote in message
news:1169216228.845460.126570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

there is a 500;13 page one can configure in the website properties,
but
.Net Framework 1.1 also delivers the "server too busy" message
sometimes and the IIS custom error page does not seem to catch that.

How would I customize the error page then?

Regards
DC




.



Relevant Pages

  • Re: How to customize "server too busy" error page?
    ... Excel Services for .NET is coming... ... to present a lean custom page instead and it looks as if I can't. ... Alvin Bruney schrieb: ... sort of script hooked in to IIS - more work than is justifiable. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to customize "server too busy" error page?
    ... "server too busy" error page is a typical framework error page, ... to present a lean custom page instead and it looks as if I can't. ... but it looks like there is no way to customize the "server too busy" ...
    (microsoft.public.dotnet.framework.aspnet)
  • AD - New Focals
    ... I've been busy trying to finish up some custom work...that kept me ... Any way I'm back on track on have some new focals beads ... Cindy Palmer ...
    (rec.crafts.beads)
  • Re: Planning a trip to the uk?????????
    ... Well since this is a UK group your SPAM won't get you much custom here! ... But we be pleased to arrange bit of email to keep you busy ... Prev by Date: ...
    (uk.transport)
  • Re: Unexpected Rollup Behavior in OWC10 when ALL Member Formula Used
    ... >> Alvin Bruney ... >>> OWC does it completely wrong with custom rollup. ... >>>> based on Visible Items Only is set, the Grand Totals always include ... >>>> include visible items, as occurs for our other dimensions that do not ...
    (microsoft.public.sqlserver.olap)