accessing trace information

when i am developing a web part or custom field control and i deploy it in
production. how do i do to troubleshoot a pb.
I guess we use tracing by writing trace.write... right
How do I access those trace messages that I write

2/and pls is there another way to troubleshoot a pb while in production
environnement thank you very much



Answer this question

accessing trace information

  • teeMeyer

    enable trace and or pageoutput in web.config and access either the pages directly or trace.axd in the site like: http://mysite/trace.axd

    in code add: Trace.Write or Trace.Warn or System.Diagnostics.Trace.Warn(.......

    Thanks


  • accessing trace information