David
Tue Jul 01 19:25:05 CDT 2008
On Jul 1, 11:51=A0am, "darrel" <notr...@nowhere.com> wrote:
> I need to set up a custom 404 page for one of our IIS sites, which I've
> done. This works for any URL pointing at this site EXCEPT if it ends with =
a
> .aspx.
>
> If it ends with an .aspx I get a generic 404 error page. I assume any non
> aspx request is being handles by IIS, but the aspx requests are actually
> being handles by .net
>
> How do I change the default error page that asp.net is redirecting to?
>
> -Darrel
Actually, request handling works like this:
http://blogs.msdn.com/david.wang/archive/2005/10/14/HOWTO_IIS_6_Request_Pro=
cessing_Basics_Part_1.aspx
IIS Custom Errors only apply to handlers that use it, and not all
handlers use IIS's configuration.
For example, ASP.Net has its own <customErrors> setting for all
requests handled by it.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//