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.

Symptom:

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>

Description:
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="https://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5021</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-02-02T19:17:35.000Z" />
<EventRecordID>15077</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>ATMachineName</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">Microsoft Team Foundation Server Application Pool</Data>
<Binary>69050780</Binary>
</EventData>
</Event>

Cause:

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.

Resolution:

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

Note:

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

 

Content By: ArunRama

Reviewed by: Lucky