Export (0) Print
Expand All

Substatus Error Codes in Log Files

Updated: August 22, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

When enabled, substatus error codes are written to IIS log files whenever a client request fails.

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".


To log substatus error codes
  1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the Web site, and click Properties.

  2. On the Web Site tab, ensure that the Enable logging check box is selected.

  3. In the Active log format list box, click W3C Extended Log File Format.

  4. Click Properties.

  5. Click the Advanced tab, and under Extended properties, select the Protocol Substatus check box.

  6. Click OK twice.

Related Information

Community Additions

© 2016 Microsoft