About Events (IIS 6.0)

Logging begins automatically when Windows is started. There are three types of logs: system, security, and application. For each type of log, you can filter the events to be viewed, designate the number of entries to view, specify how long to save entries, and specify whether to automatically overwrite existing events when the log becomes full.

You can open Event Viewer in any one of the following ways:

From the Start menu, click Run. In the Open box, type eventvwr. Click OK.

- or -

Type start eventvwr at the command prompt, and press ENTER.

- or -

From the Start menu, point to Administrative Tools, and then click Event Viewer.

- or -

From the Start menu, point to Administrative Tools, and then click Computer Management. Event Viewer is listed under the System Tools node. The benefit of this display is that IIS Manager is in the same window under the Services and Applications node.

ASP Errors and the Windows Events Log

For more information, see AspLogErrorRequests and AspErrorsToNTLog. AspLogErrorRequests can be set in IIS Manager, or it can be set programmatically using ADSI, WMI, or ABO. See Code Examples to Configure Metabase Properties for instructions on how to programmatically change metabase properties.

To set the AspLogErrorRequests key in IIS Manager

1.

In IIS Manager, right-click a virtual directory.

2.

Set the Application Protection to High (Isolated), and click Configuration.

3.

Click the Process Options tab.

4.

Select the Write unsuccessful client requests to event log check box. When checked, this metabase key is set to TRUE.

AspErrorsToNTLog cannot be set in IIS Manager, and must be set programmatically.

Related Information

For instructions on how to programmatically change metabase properties, see Code Examples to Configure Metabase Properties.

For descriptions of ASP Event errors, see ASP Events.

For more information about the metabase and programmatic administration of IIS, see Administering IIS Programmatically.


Top of pageTop of page