Stopping and Starting the World Wide Web Publishing Service

Stopping and Starting the World Wide Web Publishing Service

This topic applies to all Bamboo products using WSS 3.0, MOSS 2007, SharePoint Foundation 2010, and/or SharePoint Server 2010. Below you will find information on the following procedures:

IIS and W3SVC Defined

  • Microsoft Internet Information Services (IIS) is a web server providing a management platform for developing and hosting Web applications and services.
  • The World Wide Web Publishing Service (W3SVC) manages the HTTP protocol and HTTP performance counters for Internet Information Services (IIS).

Either of these may need to be stopped or restarted during installation or upgrade of Bamboo Solutions products for system changes to take effect. Bamboo product installation’s Best Practices is to stop the World Wide Web Publishing Service during product installation.

Exception: On SharePoint 2010, when a web application is configured to use Claims Based Authentication, and the checkbox to Automatically Activate Features is checked in the Bamboo installer, and the World Wide Web Publishing Service (W3SVC) is stopped during the installation, the installation will fail because the features cannot be automatically activated. This is true whether Forms Based Authentication (FBA) or Windows Authentication is in use.

For more information, see: KB.12732 – HOWTO: SharePoint 2010 Solution Deployment when Claim Based Authentication is Configured (rewrite in DF)

Stopping and Starting the World Wide Web Publishing Service

When a Bamboo product is installed, system checks are performed to make sure the SharePoint server is ready for the installation to proceed. One of those checks is to confirm that the World Wide Web Publishing Service is stopped. If it is not stopped, the Bamboo product installer will display a warning. Installation may proceed without stopping the World Wide Publishing Service; however, Bamboo recommends that the World Wide Web Publishing Service be stopped to ensure that system files that need to be updated during installation are not locked. If you do not stop the service as recommended, installation may fail.

To stop and start the World Wide Web Publishing Service from the command line in your server console:

 sc stop w3svc 
 sc start w3svc 
 sc query w3svc (shows you the service status)

To stop and start the World Wide Web Publishing Service from the Control Panel:

  1. Go to Start > All Programs > Administrative Tools > Services.
  2. In the services list, right-click World Wide Web Publishing Service, and then click Stop (to stop the service) or Start (to start it after it has been stopped), or Restart (to restart the service when it is running).

Restarting IIS

After product installation, it may be necessary to restart IIS for all changes to take effect.

To restart IIS, type the following command at the command line:

iisreset /noforce

Additional installation troubleshooting steps can be found in Bamboo product installation Best Practices.