IIS custom error list missing
am 06.08.2007 21:14:02 von Stephen
Hello
IIS 6.0 on Server 2003 sp2.
I wish to modify the custom error page for my asp website.
When I access the custom error tab for a website on my development server,
the listing of files I should be able to edit for custom errors contains only
a single file (400 Error). The website is serving asp pages. The text at the
top of the custom errors tab reads 'Error Message for HTTP Errors'.
What happened to the extensive list of page that I usually find here (500,
etc). Or am I looking in the wrong place.
TIA
Stephen
Re: IIS custom error list missing
am 06.08.2007 22:47:32 von Kristofer Gafvert
Hello,
You are looking in the correct place. The metabase property that stores
the custom error information is called HttpErrors. By default, this
property does not exist for a website. Instead, each website inherits the
custom error configurations from a node above (in metabase it is the
"W3SVC" node, in IIS manager you identify this as the "Web Sites" folder.
What you must have done is either modify the HttpErrors for this website
so that it does exist, but does not have all the custom error pages
defined, or done this for the node above it. I cannot tell exactly what
has happend, because obviously i don't know what you have done.
(By "you" i mean you, someone else, or some other application.)
If you want to have this complete list of custom error codes, you will
need to set it up. A quick way would be to just copy the HttpErrors
property from somewhere else to this particular website, but that requires
that you are familiar to work with the metabase (you can use Metabase
Explorer which should be fairly easy to work with).
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Stephen wrote:
>Hello
>
>IIS 6.0 on Server 2003 sp2.
>
>I wish to modify the custom error page for my asp website.
>
>When I access the custom error tab for a website on my development server,
>the listing of files I should be able to edit for custom errors contains
>only
>a single file (400 Error). The website is serving asp pages. The text at
>the
>top of the custom errors tab reads 'Error Message for HTTP Errors'.
>
>What happened to the extensive list of page that I usually find here (500,
>etc). Or am I looking in the wrong place.
>
>TIA
>Stephen