Ahmed Daou Ahmed Daou - 5 months ago 53
ASP.NET (C#) Question

How to disable Trace Information in ASP.NET?

When I debug my website its all fine.

But when I publish it shows tracing information, but I never enabled it!

I try adding the following to my web.config:

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

But it still displays the Tracing info.

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

Is the way to do it, for some reason it was not working for me, so deleting my app and republishing applied the changes.