0

I need to trace the Exceptions in IIS 7.

My application works in Asp.net with c# in windows server 2008 R2. If any exception happened in my application,then I need to have a track of that in server.

Please let me know if any features available in IIS7.

2
  • In your code you need calls in Try-Catch statements to log the error. The ASP.Net Tracing function is perfect or bubble up the exception to a logging function passing in and logging the Exception.StackTrace. ASP.NET Tracing Overview msdn.microsoft.com/en-us/library/bb386420.aspx Commented Jun 28, 2013 at 9:38
  • You can also add an Application_Error method in your Global.asax Commented Jun 28, 2013 at 9:46

1 Answer 1

1

If you want to use IIS to trace , I think the only possible way is you can use logging in IIS .

You can see here how to use it !

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.