472,779 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

How to customize "server too busy" error page?

DC
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

Jan 19 '07 #1
7 4950
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
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

Jan 20 '07 #2
"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:OY***************@TK2MSFTNGP04.phx.gbl...
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.
Yes indeed. This is especially the case for "Page cannot be found" errors,
particularly when the page in question isn't an aspx...
Jan 20 '07 #3
DC
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
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
Jan 21 '07 #4
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@upsize.dewrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googleg roups.com...
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

Jan 22 '07 #5
DC
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@upsize.dewrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
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
Jan 22 '07 #6
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@upsize.dewrote in message
news:11*********************@38g2000cwa.googlegrou ps.com...
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@upsize.dewrote in message
news:11**********************@s34g2000cwa.googleg roups.com...
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googleg roups.com...
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


Jan 23 '07 #7
DC
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/archiv...ors_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@upsize.dewrote in message
news:11*********************@38g2000cwa.googlegrou ps.com...
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@upsize.dewrote in message
news:11**********************@s34g2000cwa.googlegr oups.com...
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@upsize.dewrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
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
Jan 23 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sam | last post by:
Guys facing a strange problem any clue would really rescue me.. i am using a ASP application with following things Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD OS : Windows 2000...
0
by: BGS | last post by:
I have a web site (www.on-the-matrix.com) that displays photos in a "slide show" format on ASPX pages that run in an inline frame on an ASP page (or in a separate pop-up window). The ASPX pages...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
3
by: ADavidson | last post by:
I'm getting a {"Parser Error: The Runat attribute must have the value Server." } error when I try to get the Server.GetlastError() in the Global.asax codebehind. Why am I getting this? I...
3
by: SMG | last post by:
Hi All, From where I can customize 404 error. I.e. the error is printed below.. Server Error in '/sharekhan' Application. The resource cannot be found. Description: HTTP 404. The...
2
by: Andy Chen | last post by:
Hi, When I am using the fowllowing code to open page http://spaces.msn.com/members/mailcall/ .... try{ string url = http://spaces.msn.com/members/mailcall/; HttpWebRequest httpReq = null;...
3
by: ton | last post by:
Hi, I've developed some webcontrols in VB, I'm using these in a website project If the webcontrol is getting an error I ll get the message: Server error in '/' application, and than more...
1
by: Tito Meinrath | last post by:
Hi, I'm really going mad about this! Currently I'm designing a student course on web services. Because I want them to understand what's really going on when web services correspond with each...
23
by: ticfranca | last post by:
Hi, I'm getting this error in the code below: sub Pega_recorde { $database = 'bundinha'; $host = 'localhost'; $usuario = 'myhumoradm'; $senha = 'my8xr2d2'; ...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.