Partager via


Event ID 5149 — IIS W3SVC Configuration

Applies To: Windows Server 2008 R2

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: 5149
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_EVENT_WMS_GLOBAL_RANGE_NO_HIGHLO_ERROR
Message: The World Wide Web Publishing Service property '%1' failed range validation. The configured value, '%2' is invalid. The default value, '%3', will be used.

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.5