Stop and Start Services, Application Pools, and Websites
To ensure that Visual Studio Team Foundation Server functions correctly, you must verify that all required services, application pools, and Web sites are running on the appropriate server. In single-server deployments, each element must be running on the server that is running Team Foundation Server. In multiple-server deployments, each element must be running on the appropriate server. In addition, you might need to stop an element to perform a particular task, such as moving your deployment to a different set of hardware. For detailed information about how to start or stop all of these elements for operations such as backing up or restoring databases, see TFSServiceControl Command. For information about how to stop individual services or application pools, see the steps at the end of this topic.
Important
You must use the TFSServiceControl command to perform certain maintenance tasks on the server, such as backing up and restoring databases. Do not use the steps at the end of this topic to attempt to manually stop all of the services and application pools for tasks that require the TFSServiceControl command.
The following table lists the server on which each service, application pool, and Web site must be running. The Name column lists the display name for each element with service names in parentheses. Which services you need will vary based on which features of Team Foundation you have installed.
Element |
Location |
Name |
---|---|---|
Services |
Application-tier server |
|
|
Server that hosts the databases for Team Foundation |
|
|
Server that hosts SQL Server Reporting Services |
|
|
Server that hosts SQL Server Analysis Services |
|
|
Server that hosts SharePoint Products |
|
Application pools |
Application-tier server |
|
|
Server that hosts SharePoint Products |
|
Web sites |
Application-tier server |
|
|
Server that hosts SharePoint Products |
|
Required Permissions
To perform this procedure, you must be a member of the Administrators group on the server that hosts the service, application pool, or Web site that you want to manage. For more information about permissions, see Team Foundation Server Permissions.
To stop or start a service, application pool, or Web site
Log on to the server that hosts the service, application pool, or Web site.
Click Start, click Administrative Tools, and then click Computer Management.
In the navigation pane, expand Services and Applications.
Perform one of the following steps based on what element you want to stop or start:
For a service, click Services, right-click the service, and then click Stop or Start.
For an application pool, click Internet Information Services (IIS) Manager, expand the local computer, and double-click Application Pools. Right-click the application pool, and then click Stop or Start.
For a Web site, click Internet Information Services (IIS) Manager, expand the local computer, and double-click Web Sites or Sites.
If the server is running Windows Server 2003, right-click the Web site, and then click Stop or Start.
If the server is running Windows Server 2008, right-click the Web site, point to Manage Web Site, and then click Stop or Start.
See Also
Tasks
Change the Service Account or Password for SQL Server Reporting Services
Change the Service Account or Password for Team Foundation Server
Concepts
Service Accounts and Dependencies in Team Foundation Server
Team Foundation Server Concepts
Team Foundation Server Architecture
Other Resources
How to: Verify or Correct the IIS Configuration for an Application Pool