Wednesday, October 03, 2007

tracing in asp.net

I am trying to use the trace.axd viewer to view page traces. I changed the <trace enabled='true' > tag in web.config and all I get was
--------------------------------------------------------------------------------
Server Error in '/xyz' Application.
--------------------------------------------------------------------------------

Trace Error
Description: Trace.axd is not enabled in the configuration file for this application. Note: Trace is never enabled when

Details: To enable trace.axd, please create a tag within the configuration file located in the root directory of the current web application. This tag should then have its "enabled" attribute set to "true".










--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
--------------------------------------------------------------------------------

Turns out I have to restart the worker process in order to get it to work. Turning it off has no such problems though.

No comments:

 
Listed on BlogShares