title: How to enable tracing for an ASP.NET application?
body: <p>I follow the description in <a href="http://msdn.microsoft.com/en-us/library/0x5wc973(v=vs.140).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/0x5wc973(v=vs.140).aspx</a> to enable the tracing of my ASP.NET pages. But it does not work. If I call the trace viewer with <code>http://localhost/MyApp/trace.axd</code> then I receive the error that I should enable the trace flag in the web.config.</p>
  
  <ul>
  <li>I have verify that I edit the right web.config with changing "trace" to "trace2". This produce the expected error message.</li>
  <li>I have reduce the web.config to the max. I use only:</li>
  </ul>
  
  <blockquote>
  <pre><code>&lt;configuration&gt;
      &lt;system.web&gt;
          &lt;trace enabled="true"/&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  </blockquote>
  
  <ul>
  <li>I use Windows 8.1 with IIS 8.5.</li>
  </ul>
  
  <p>What can be the cause of the problem?</p>