log server errors while customerrors=on

D

Daves

think you got my idea, the user shouldn't see the errors but I'd like to log
them though and even run some notifier code... how would I do that?
 
D

David Young

Put your code to log the errors in the Global.asax under the
Application_Error. Any code in there will be run anytime there is an
unhandled exception.
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top