Event ID - 1172

Event Id1172
SourceMicrosoft-Windows-IIS-W3SVC
DescriptionThe World Wide Web Publishing Service (WWW Service) did not construct valid URLs for virtual site %1. Therefore, the virtual site %1 will be stopped. This can be caused by invalid characters in the site bindings. The following characters are not allowed in a site binding: "\"" "/" "\\" "[" "]" ":" "|" " " "<" ">" "+" "=" ";" "," "?" "*" "%" "#" "@" "{" "}" "^" "`". To fix this problem please remove invalid characters from the site bindings.
Event Information According to Microsoft :

Cause :

This event is logged when the World Wide Web Publishing Service (WWW Service) did not construct valid URLs for virtual site.

Resolution :

Add or edit site bindings

Ensure that the site has bindings with a valid port and IP address configured, and that the IP address and port configured for this Web site are not already being used by another site or entity. Only one Web site can be bound to a particular IP/port pairing at one time. After you add or edit bindings, you may have to restart the Web site, and, in some cases, the HTTP service.

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

Add or edit site bindings

To add or edit site bindings, follow these steps:
  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 , select the Web site that you have to configure.
  4. In the Actions pane, click Bindings.. .
  5. To modify an existing binding, select the binding and click Edit .
  6. To add a new binding, click Add.. .
  7. After you have set the unique bindings for the site, click OK , then click Close .
Restart the site

If necessary, restart the site by following these steps:
  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, select the Web site that you have to configure.
  4. In the Actions pane, click Stop to stop the site.
  5. In the Actions pane, click Start to restart the site.
Stop and restart the HTTP service

In some cases, you may also have to stop and restart the HTTP 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. Type net stop HTTP /y .
  3. Type net start w3svc . This will also start the HTTP service.
  4. Start any other services that were stopped when the HTTP service and W3SVC were shut down.
Verify :

To verify that a Web site is started, you can use either IIS Manager or the appcmd command line utility.

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

To verify that the Web site is started by using the appcmd command line utility:
  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. Change the directory to %SystemDrive%\Windows\System32\inetsrv .
  3. Run the following command: appcmd.exe list site -site.name:"Site Name" . If the Web site is started, the output will resemble the following:

    SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)
To verify that the Web site is started 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. In the Connections pane, click the Sites node.
  5. In Features View , look for the Web site name. The Web site status will be indicated under the Status column. If the Web site is started and is using the HTTP protocol, Started(http) will appear.
Reference LinksEvent ID 1172 from Source Microsoft-Windows-IIS-W3SVC

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.