Issue:
=====
Your TFS 2008 is running on Windows 2008 and you noticed this error from w3wp.exe in EventLog:
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 10/28/2008 12:19:30 AM
Machine: %MachineName%
Application Domain: /LM/W3SVC/99096959/ROOT/Services-1-128487152825933232
Assembly: Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 3528
Thread Id: 2896
Account name: %AccountName%
Exception: COMException
Message: Retrieving the COM class factory for component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} failed due to the following error: 800703fa.
Stack Trace:
at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context)
at System.DirectoryServices.ActiveDirectory.DomainController.FindOneInternal(DirectoryContext context, String domainName, String siteName, LocatorOptions flag)
at System.DirectoryServices.ActiveDirectory.DomainController.FindOneWithCredentialValidation(DirectoryContext context, String siteName, LocatorOptions flag)
at System.DirectoryServices.ActiveDirectory.DomainController.FindOne(DirectoryContext context, LocatorOptions flag)
at Microsoft.TeamFoundation.Server.DomainProperties..ctor(String domain)
at Microsoft.TeamFoundation.Server.DomainProperties.GetDomainProperties(String domain)
at Microsoft.TeamFoundation.Server.ADAccessor.ExtractIdentity(Boolean includeMembers, IdentitySeen identitySeen, ProcessIdentity processIdentity)
at Microsoft.TeamFoundation.Server.ADAccessor.ExtractIdentity(Boolean includeMembers)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid, Boolean includeMembers)
at Microsoft.TeamFoundation.Server.GroupSecurityService.ReadIdentityFromSource(SearchFactor factor, String factorValue)
Root Cause:
==========
This is due to a design change in Windows 2008. This wasn’t an issue in Win2k3, because the OS would let us hold onto HKCU after the user logged out.
Resolution:
=========
Set “Load User Profile” to True for the IIS Application Pool “Microsoft Team Foundation Server Application Pool” .