Ahmed Daou Ahmed Daou - 1 month ago 16
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
<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.

Comments