How to enable and view the Trace file in MVC

Home > Search > How-to

To enable tracing, add the following to the web.config file, inside the <system.web> tags:

<trace enabled="true" pageOutput="false" />


To view the trace events, go to<project name>/trace.axd.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.