Custom Errors In: web.config, global.asax.cs

R

Ranv

Is it possible to use web.config to handle 404 Page Not Found errors,
and application level custom errors to handle all other errors? I
suppose I would have to make sure that I don't call
Context.ClearError(); when a 404 Error occurs, but how do I check in
code that this has occured? In relation to this, would anyone know
where I could obtain a listing of exceptions? Thanks in advance.
 

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,768
Messages
2,569,575
Members
45,052
Latest member
KetoBeez

Latest Threads

Top