not getting Response.Redirect() working

  • Thread starter Thread starter joseph pattom
  • Start date Start date
J

joseph pattom

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
 
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
 
Back
Top