views:

31

answers:

0

I am using Network Tracing in my ASP.Net 3.5 application.

I see the tracing output in the Output window in Visual Studio 2008 when I run my web site, so I've got the basics working.

I'm trying to set tracemode="protocolonly" so I see text and not hex codes for the network data displayed by the trace.

The section in my Web.config would look like this:

<sources>

  <source name="System.Net" tracemode="protocolonly">
    <listeners>
      <add name="System.Net"/>
    </listeners>
  </source>

</sources>

but the "tracemode" attribute is not accepted.

Here is a blog page that mentions this attribute:

http://blogs.msdn.com/dgorti/archive/2005/09/18/471003.aspx

Is there a different way to do this in .Net 3.5/CLR 2.0?

Do I have to set a Web.config version somewhere?

Thanks in advance,

Adam Leffert

http://www.leffert.com