TF254043: The readiness checks could not start
TF254043: The readiness checks could not start
Earlier today I tried to install Team Foundation Server 2010 RC on my Windows 7 machine. The installation went fine and easy, but the configuration wizard stopped with the following error:
“TF254043: The readiness checks could not start. For more information, see the following log file: C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs\CFG_DPLY_AT_0226_072157.log”

I opened the above log file and found the following error description:
[Error @07:23:02.680] TF254043: The readiness checks could not start. For more information, see the following log file: C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs\CFG_DPLY_AT_0226_072157.log
[Error @07:23:02.791]
Exception Message: The trust relationship between this workstation and the primary domain failed.
(type SystemException)
Exception Stack Trace: at System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed)
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed)
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at Microsoft.TeamFoundation.Common.UserNameUtil.GetMachineAccountName(String hostName)
at Microsoft.TeamFoundation.Admin.VerifyFactory.CreateApplicationDatabaseNode(IApplicationTier appTier, String targetDatabaseName)
at Microsoft.TeamFoundation.Admin.VerifyFactory.AppendApplicationTierVerifications(ICollection`1 nodes, IApplicationTier appTier, String targetDatabaseName, Boolean isReportingAlreadyConfigured)
at Microsoft.TeamFoundation.Management.Controls.WizardCommon.BaseWizardController.AppendApplicationTierVerifications(ICollection`1 nodes)
at Microsoft.TeamFoundation.Management.Controls.WizardCommon.BaseWizardController.GetVerificationTree()
at Microsoft.TeamFoundation.Management.Controls.WizardCommon.BaseWizardController.StartVerification()
Solution:
Since my computer is connected to a domain, and while installing TFS I was working from home and not connected to my company’s network via VPN or DirectAccess, there was no connection to the domain controller.
To solve this issue I connected to my company’s network via VPN and ran the configuration wizard again. This time it went fine. If you don’t have a VPN connection, you’ll have to wait until next time you’re in the office.
