TFS 2008: “Error 28940. TFServerStatusValidator” during installation.

When you install Team Foundation Server 2008 + SP1 (Slipstreamed), the installation might fail with an error given below

Error 28940.TFServerStatusValidator: Calling the Team Foundation Server ServerStatus Web service failed with 503 HTTP ServiceUnavailable status. Verify that Internet Information Services, Windows SharePoint Services, and ASP.NET are configured correctly and that ASP. NET v2.0 Web Service Extensions are allowed. For more information on troubleshooting this error, see the Microsoft Help and Support Center.


The System log might show an entry similar to

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          2/2/2009 11:17:35 AM
Event ID:      5021
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      <ComputerName>

The identity of application pool Microsoft Team Foundation Server Application Pool is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request.  If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.
Event Xml:
<Event xmlns="">
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5021</EventID>
    <TimeCreated SystemTime="2009-02-02T19:17:35.000Z" />
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Security />
    <Data Name="AppPoolID">Microsoft Team Foundation Server Application Pool</Data>


The account that is running the "Microsoft Team Foundation Server" application pool (normally TFSService account), does not have  "Logon as a batch job" rights assigned to it.



Add the TFSService account to "Log on as a batch job" rights in Local security policy settings.

1) Launch "Local Security Policy" by selection Start > Administrative tools > Local Security Policy

2) In the "Local Security Policy" windows under "Security Settings"on the left panel open "Local Policies"

3) Select "User Rights Assignment"

4) Select "Log on as a batch job" policy in the right panel and rightclick to access "Log on as a batch job" property window

5) Select "Local security Settings" tab and add the account



If the server is governed by a Group policy, this setting should be enabled thru a GPO.


Content By: ArunRama

Reviewed by: Lucky

Comments (1)

  1. sharvan says:

    it worked thnaks

Skip to main content