Partager via


Event ID 1120 — IIS W3SVC Performance Counter Availability

Applies To: Windows Server 2008 R2

The Internet Information Services (IIS) World Wide Web Publishing Service (W3SVC) collects HTTP-specific performance counters for Web sites. The W3SVC initializes the counters and receives them from HTTP.sys, the protocol listener for HTTP. If W3SVC is not available, HTTP performance counter data cannot be gathered.

Event Details

Product: Internet Information Services
ID: 1120
Source: Microsoft-Windows-IIS-W3SVC
Version: 7.5
Symbolic Name: W3SVC_PERF_COUNTER_HTTP_GLOBALS_FAILURE
Message: The World Wide Web Publishing Service (WWW Service) failed to obtain cache counters from HTTP.SYS. The performance counters that were reported do not include performance counters for this gathering from HTTP.SYS. The data field contains the error number.

Resolve

Restart W3SVC

If Web sites require updated performance counters, the World Wide Web Publishing Service (W3SVC) must be restarted.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To restart the W3SVC: 

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. At the command prompt, type NET STOP W3SVC.
  3. At the command prompt, type NET START W3SVC.

Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that a performance counter is functioning correctly:

  1. Click Start, Administrative Tools, Server Manager.

  2. In the left pane of Server Manager, expand Diagnostics, then expand Reliability and Performance.

  3. Expand Monitoring Tools, then click Performance Monitor. The Performance Monitor window appears in the middle pane.

  4. In the Performance Monitor toolbar, click the Add icon (the green plus sign.) The Add Counters screen appears.

  5. Under Available counters, select the counter you want to verify.

  6. On the bottom of the screen, click Add. In the right pane, the counter appears in the Added counters window.

  7. Click OK.

  8. At the bottom of the screen, the name of the counter should be visible in the Counter field.

    Note: If data for the counter does not appear, check the Application log for Event ID 2006 with source IIS-W3SVC-PerfCounters. You may receive this error if there is no data available for the counter.

IIS W3SVC Performance Counter Availability

Internet Information Services (IIS) 7.5