You're here: Snippet Directory » Microsoft .NET » ASP.NET (68)
Language:

Trace Information

Language: English
Programming Language: ASP.NET
Published by: Dennis Pallett [not registered]
Last Update: 5/9/2006
Views: 609

Description

Putting this in your web.config of your application will allow you to view the Trace information. It can be viewed by going to http://yourserver/yourapplication/trace.axd. The requestlimit is the maximum number of traces to store for the application. Once that limit is filled, no more tracing occurs. (Description by David Rogers)

Code

1 <configuration> 2 <system.web> 3 <trace enabled="true" requestLimit="40" 4 pageOutput="false" traceMode="SortByTime"/> 5 </system.web> 6 </configuration>

No comments avaiable

Add a comment

Name *  

Email (won't be displayed) *    

Website  

Comment *  

Sicherheitscode Security Code *    

RSS