Event ID 1041 — IIS W3SVC Configuration

Applies To: Windows Server 2008

The Internet Information Services (IIS) World Wide Web Publishing Service (W3SVC) can be configured to collect performance data and do HTTP compression. If the W3SVC is configured to perform HTTP compression, a valid compression directory that resides on an NTFS volume must be specified.

Event Details

Product: Internet Information Services
ID: 1041
Source: Microsoft-Windows-IIS-W3SVC
Version: 7.0
Symbolic Name: W3SVC_EVENT_WMS_RANGE_ERROR
Message: The '%1' '%2' failed range validation for property '%3'. The configured value '%4' is outside of the range '%5' to '%6'. The value will default to '%7'.

Resolve

Correct W3SVC Configuration

The World Wide Web Publishing Service monitors when a property setting falls outside its permitted range. Correct the World Wide Web Publishing Service (W3SVC) configuration as indicated by the error message. If the problem persists, stop and restart W3SVC.

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

To stop and restart the World Wide Web Publishing service:

  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 verify that the World Wide Web Publishing (W3SVC) is configured correctly, you can:

  • Check that the World Wide Web Publishing service is running.
  • Test browse a Web page that uses W3SVC.

Verify that W3SVC is running

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

To verify that the World Wide Web Publishing service is running, follow these steps:

  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. Type sc query w3svc, and press ENTER. The World Wide Web Publishing service is running if the state reported for the service is 4 RUNNING.

Perform a test browse

To perform a test browse by using IIS Manager:

  1. Click Start, click Control Panel, and then click Administrative Tools.
  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.
  3. In the Connections pane, expand the computer name.
  4. Expand Sites.
  5. Select the Web site or application that you want to verify.
  6. In the Actions pane, click the link under Browse.

IIS W3SVC Configuration

Internet Information Services (IIS) 7.0