Share via


Event ID 5052 — IIS Web Site Configuration

Applies To: Windows Server 2008

Configuration for an Internet Information Services (IIS) Web site must include a unique site name, site ID, and a separate binding for each protocol that the site uses. You can specify the maximum number of connections, maximum bandwidth, and connection time-out settings for the site. You can also configure site-related logging information, including the logging of failed requests. While you can specify default values for the site's applications and virtual directories, individual application or virtual directory settings can override these defaults.

Event Details

Product: Internet Information Services
ID: 5052
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_WMS_APPLICATION_SITE_INVALID_ERROR
Message: The application '%2' belongs to an invalid site '%1'. Therefore, the application will be ignored.

Resolve

Correct the Web site configuration

To correct the Web site configuration:

  1. Make the configuration changes as specified in the event log messages you receive.
  2. Restart the World Wide Web Publishing Service (W3SVC).

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

To stop and start 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 verify that the Web site configuration is correct, follow these steps:

  • If you received an event log message, make the configuration changes indicated by the message.
  • Restart the World Wide Web Publishing Service (W3SVC).
  • If you received an event log message, check the event viewer to confirm that the message no longer occurs.

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

Restart the World Wide Web Publishing Service

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

Check the event viewer logs

To check the event viewer logs:

  1. Click Start, Administrative Tools, Event Viewer.
  2. Open the log indicated by the event (for example, System).
  3. Confirm that the message(s) no longer appear.

IIS Web Site Configuration

Internet Information Services (IIS) 7.0