How to Log Errors for New Ap?

  • Thread starter Thread starter Jim Bayers
  • Start date Start date
J

Jim Bayers

I've got a reservation form for students that I'm about to put online. How
can I log errors? If there is an error, many times the student won't
report it or if they do, they leave out the important information like the
page the error occured on or the error message.

Can asp.net log the errors to a log file or something?

That would be very handy.
 
Jim said:
I've got a reservation form for students that I'm about to put online. How
can I log errors? If there is an error, many times the student won't
report it or if they do, they leave out the important information like the
page the error occured on or the error message.

Can asp.net log the errors to a log file or something?

That would be very handy.

Yeah, just add an Application error handler in global.asax. Make it do
whatever you want.
 

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

Back
Top