Re: Supressing Public ASP Error Codes
- From: "Ken Schaefer" <kenREMOVE@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 13:22:39 +1000
"Jody" <Jody@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1C3E68C9-506D-48EF-ADA7-6773C153B10D@xxxxxxxxxxxxxxxx
Thanks Ken,
If I understand you correctly, it is the 500-100.asp page that determins
what error(s) are added to website pages should there be an error?
When an ASP-related error occurs, IIS will transfer control to whatever is
configured as the error page for 500-100 type errors.
I do not understand what you mean by:
"Customise your website in IIS, so that the 500-100 error page points to
your
page, and not the default one supplied with IIS."
What page do I point the 500-100.asp file to? The website has numerous
pages?
Create your own page that you would like displayed to users when an ASP
error occurs. Then configure IIS to use that page by changing the custom
errors property for 500-100 errors (500-100 errors are Internel Server
Errors generated by ASP-related problem).
Cheers
Ken
Thanks - Jody
"Ken Schaefer" wrote:
Create your own custom 500-100.asp error page.
Customise your website in IIS, so that the 500-100 error page points to
your
page, and not the default one supplied with IIS.
Then your message will be displayed. Additionally, if you make the custom
page an ASP page itself, you can use the ASPError object to get details
about the error and have them emailed to you (or logged to a database,
event
log etc).
Take a look in c:\windows\help\iishelp\common\500-100.asp file for some
ideas on how the ASPError object works.
Cheers
Ken
"Jody" <Jody@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:563029DF-15EF-4EE8-8D3D-5FCA50B3F48D@xxxxxxxxxxxxxxxx
P.S. This site is hosted on a dedicated Windows 2003 Server running IIS
6.0.
"Jody" wrote:
I am the server Admin for a webmaster who designed a site in Straight
ASP
using SQL Server 2000 SP4. I am not a literate ASP programmer and the
webmaster is not very experienced in this area either.
So, I am soliciting some assistance with how to having non-informative
ASP
error messages appearing to the public?
For example we recently encountered a permissions issues that
generated
the
following error message that was displayed at the bottom of the
website
web
page. Although this issue is resolved we want to prevent this kind of
descriptive error code from being public.
For example:
Active Server Pages error 'ASP 0113'
Script timed out
/lectures.asp
All I have been able to find so far is the custom error pages in IIS.
There
are a bunch of htm pages with various messages but none of them have
any
error like the one above. The messages I am referring to are added to
the
website page, they are not a separate error page as the ones in IIS
appear to
be. This leads me to believe that I am not looking in the correct
place.
I would greatly appreciate anyone pointing me in the right direction.
Thanks - Jody
.
- Follow-Ups:
- Re: Supressing Public ASP Error Codes
- From: Jody
- Re: Supressing Public ASP Error Codes
- References:
- Re: Supressing Public ASP Error Codes
- From: Ken Schaefer
- Re: Supressing Public ASP Error Codes
- From: Jody
- Re: Supressing Public ASP Error Codes
- Prev by Date: Re: Supressing Public ASP Error Codes
- Next by Date: Re: Supressing Public ASP Error Codes
- Previous by thread: Re: Supressing Public ASP Error Codes
- Next by thread: Re: Supressing Public ASP Error Codes
- Index(es):
Relevant Pages
|
|