Ahmed Daou Ahmed Daou - 1 year ago 120
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.

Answer Source
<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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download