I follow the description in http://msdn.microsoft.com/en-us/library/0x5wc973(v=vs.140).aspx to enable the tracing of my ASP.NET pages. But it does not work. If I call the trace viewer with http://localhost/MyApp/trace.axd
then I receive the error that I should enable the trace flag in the web.config.
<configuration> <system.web> <trace enabled="true"/> </system.web> </configuration>
What can be the cause of the problem?
I have solve the problem. My application was only a virtual directory. Converting it in an application solve the problem. Another solution is to add the trace flag in the root of the IIS.