Asp.Net error reporting with stacktrace

Posted by Helo on Stack Overflow See other posts from Stack Overflow or by Helo
Published on 2010-06-13T09:15:40Z Indexed on 2010/06/13 9:22 UTC
Read the original article Hit count: 191

Filed under:
|

I have an Asp.Net web site set up to log errors using Log4Net (in global.asax) and redirect users to a custom error page (set up in web.config with: ). On this error page the users have the opportunity to write about what they did when the error occurred and post the description back to us to help fix the problem.

My question is this: How do i connect the error stacktrace to the users error report?

It appears that .Net has handled the error when it was written to the log file and the custom error page has no information about the stacktrace. If only I could see the stacktrace from the custom error page code-behind my problem would be solved.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about error-handling