开发者

Disabling trace.axd at the machine level in ASP.NET 2.0 in Windows Server 2003

On Windows Server 2003 64-bit set to run as 32, I want to change the global web.config at C:\WINDOWS\microsoft.net\Framework\v2.0.50727\CONFIG开发者_开发问答\web.config

To disable tracing.

I see the add..path here:

I think I need to remove that; will doing this help? ()

Will I need to reboot after changing the web.config or just restart the server? I'm assuming that change will propogate to other web.config files and within those if I want to enable/disable tracing I'll make the indicated changes?


Yes. Also, editing machine.config will recycle all AppDomains so you don't have to do a manual reboot.

To disable trace, you can do this:

<trace
    enabled="false"
    ...
/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜