Reputation: 127
How do I make tracing work in IIS 6.0 ?, The same works fine with IIS 5.1 but not in IIS 6.0. I have tried giving permissions to ASPNET user and also enabled write permissions in the virtual directory.
Below is the code snippet from web.config
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\log\Traces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
<system.serviceModel>
<diagnostics performanceCounters="All" />
Upvotes: 1
Views: 1792
Reputation: 1767
Make sure the log folder name c:\log\ exists. If not it does not put any trace files.
Not sure whats the logic behind not creating folders automatically ?
Upvotes: 0
Reputation: 65391
There are a few things that you could try:
Upvotes: 3