Working with Failed Request Tracing

The Trace object in Appcmd provides a convenient way to enable and use the Failed Request Tracing (FRT) feature in IIS 7.0 to diagnose server problems.

Note

Note

For more information about using Failed Request Tracing, see Chapter 16.

You can use the Trace object to do the following:

  • Turn FRT on and off for each Web site

  • Manage FRT tracing rules for any URL

  • Search for and inspect FRT log files

Turning on Failed Request Tracing

To turn on FRT for a particular URL, you must first enable the feature for the Web site. You can do this with Appcmd by using the Configure Trace command.

appcmd configure trace SiteName /enablesite

Get Internet Information Services (IIS) 7.0 Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.