How to track ASP errors
I'm coming from a basic PHP background and making good use of Apache error logs using the command line. I was recently given a large ASP / ASP.NET project that I need to make changes to, where can I find the error logs in the Windows IIS setup so I can troubleshoot some issues?
+1
Stuart
source
to share
1 answer
You didn't mention which version of IIS you are using. In IIS 6, the HTTP error log is located at systemroot \ System32 \ LogFiles \ HTTPERR.
ASP.net itself will not generate error logs unless it is configured to do so. There are many ways to do this, such as with Log4net, Application Application Block, trace log, trace diagnostics, or roll your own approach.
Take a look at the web.config file and see if logging is configured for it.
+1
Winston smith
source
to share