not getting Response.Redirect() working

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
 
A

Alvin Bruney [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top