Application_Error event and 404 error?

S

Stoyan

I implemet in Application_Error event in Global.asax, So now when some error
occurs in application it send me email, the problem is that it consider 404
like error and send me everytime email when some user type some wrong
address of page.

Is it possible to filter the error code? Can I in Application_Error event
check if error is 404 and do not send email?



thanks
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top