Groups | Blog | Home
all groups > asp.net > february 2005 >

asp.net : not getting Response.Redirect() working


joseph pattom
2/11/2005 9:07:35 PM
Hi all

i am using
<customErrors mode="On" defaultRedirect="ErrorDisplay.aspx"/> in my
web.config file and getting redirected to "ErrorDisplay.aspx" in almost
all the unhandled exceptions but in case of certain errors its not
getting redirected (especialy Acces Violations(object refrence to null
exception)). if eny body know the solution pls do reply

thx in advance
joseph pattom



*** Sent via Developersdex http://www.developersdex.com ***
Alvin Bruney [MVP]
2/12/2005 11:19:20 AM
You really should write a page error handler for unhandled exceptions
occurring on the page level. Any uncaught exceptions, you then redirect to
your error page.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------


[quoted text, click to view]

AddThis Social Bookmark Button