>>How can I make Application_Error ignore errors defined in the web.config?
>>
>
>I'm not sure you can, Dmitry. In my fooling around with the Application_Error recently, it appears that this code fires and takes precedence over anything in the web.config.
>
>What I did, since the
section is apparently no longer applicable, is have the Application_Error take care of the redirection.
>
>Would this work for you?
It would work for me if I knew how to do it <g>. That is, how would my code in Application_Error "know" that the error is with the wrong URL (404)?
In web.config it is easy to define that you want page x when error is 404 or 500. But I am not aware of the way to trap this error in Application_Error.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham