A service is not running
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
Windows Server 2003 and Windows Server 2008
SQL Server and SQL Server 2008
Application-tier server
Data-tier server
Health check
Preinstall check
The Best Practices Analyzer tool for Team Foundation Server queries a Windows Management Instrumentation (WMI) class (Win32_Service Microsoft) to determine the values of the Started key for several Windows services. Specifically, the tool determines whether required services are running on the following computers:
The following table lists the services that the tool checks are running for each server in a deployment. 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.
Location |
Name |
---|---|
Application-tier server |
|
Server that hosts the databases for Team Foundation |
Note SQL Server Full Text Search service is only required for SQL Server 2005. |
Server that hosts SQL Server Reporting Services |
Note SQL Server Reporting Services installed under SQL Server 2008 does not require IIS Admin Service and World Wide Web Publishing Service to run. |
Server that hosts SQL Server Analysis Services |
|
Server that hosts SharePoint Products and Technologies |
|
An error appears if a value for a Started key is False, which indicates that a required service is not running. To resolve this issue, perform one or more of the following tasks (especially if other services that use the same account have not started either):
Install the most recent service pack for your version of Team Foundation Server.
Verify that the startup type for the service is set to Automatic, and restart the service. If you try to start services and your effort fails, you should check the event logs for more information about the failure.
Determine whether the password for the service account has expired. If the password has expired, reset it. For more information, see An account password has expired or is about to expire.
The service account for Team Foundation Server (TFSService) is the service account for the Windows services in the following table:
Visual Studio 2005 Team Foundation Server |
Visual Studio Team System 2008 Team Foundation Server |
---|---|
Code Coverage Analysis Service |
Code Coverage Analysis Service |
TFS Scheduler (TFSServerScheduler) |
Visual Studio Team Foundation Server Task Scheduler (TFSServerScheduler) |
Windows SharePoint Services Timer (SPTimer or SPTimerV3) |
Windows SharePoint Services Timer (SPTimer or SPTimerV3) |
The TFSService account is also the identity for the application pools in the following table:
Visual Studio 2005 Team Foundation Server |
Visual Studio Team System 2008 Team Foundation Server |
---|---|
TFS AppPool |
Team Foundation Server Application Pool |
TFSWSSADMIN |
SharePoint Central Administration v3 |
TFSWSS |
DefaultAppPool |
For security reasons, the TFSService account should not be an administrator on a server that is running a Team Foundation component. If you have deployed Team Foundation Server in an Active Directory domain, you should select the Account is sensitive and cannot be delegated check box for service accounts. For more information, see "Enabling Delegated Authentication" on the Microsoft Web site.
Required Permissions
To perform this procedure, you must be a member of the Administrators security group on the data-tier or application-tier server for Team Foundation.
To reset the service to start automatically and start a service that is not running
Log on to the server on which the service should be running.
Open the Start menu, point to Administrative Tools, and click Services.
The Services Microsoft Management Console (MMC) opens.
Right-click the relevant service, and then click Properties.
The properties dialog box for the service opens.
On the General tab, in the Start-up type list, click Automatic.
Click Apply, and then click OK.
Right-click the service, and then click Start.
Close the Services snap-in.
See Also
Other Resources
Issues That Relate to the Application Tier for Team Foundation