Error TF50604 during Installation

I've got a problem during the installation of the TFS 2005 RC.

First I've set up a brand new PC with Windows 2003 Standard, Active Domain Controller
(= ADC; and new DNS;
the new domain is addc.mydomain, mydomain is an existing NT-domain, but I used "New Tree", so this shouldn't be the problem...)
After that I created three new accounts on the ADC-computer (TFSSetup, TFSService, TFSReports), TFSSetup is a Domain Admin, the two others are Domain Users.

On the other computer ready for the TFS (SingleServer) I did everything according to the chm-file (TFSInstall.chm), which includes installing hotfixes, sql server 2005 standard, and so on, then starting setup.
I entered ADDC\TFSSetup, ADDC\TFSService, ADDC\TFSReports as the user accounts and started the installation process.

Then...this message pops up: "Error 28002.Error unknown."

Analysing the log-file ("VSMsiLog####"; # is a letter/number) I discovered this:

TfsGSSInit - Irrecoverable error: TF50604: There was an error getting identity information from Active Directory.
02/21/06 11:30:46 DDSet_Status: Process returned 6130
02/21/06 11:30:46 DDSet_Status: Found the matching error code for return value '6130' and it is: '28002'
02/21/06 11:30:46 DDSet_Error: 6130
MSI (s) (C8!D4) [11:31:08:828]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28002.Error unknown.

02/21/06 11:31:08 DDSet_Status: Commandline: "c:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\TF Setup\TfsGssInit.exe" /setup /install "TAB-FE-IMLAUER" "TfsIntegration" "ADDC\TFSSERVICE"
02/21/06 11:31:08 DDSet_Status: IgnoreExitCode: 0
02/21/06 11:31:08 DDSet_Status: Silent: 0
02/21/06 11:31:08 DDSet_Status: ActionStart: 0
02/21/06 11:31:08 DDSet_Status: Cost: 0
02/21/06 11:31:08 DDSet_Status: WorkingDirectory:
02/21/06 11:31:08 DDSet_Status: HideCmdLine: 0
TfsGSSInit - Team Foundation Server GSS Initialization Tool
(c)Copyright, Microsoft Corporation, 2005. All rights reserved.

I've logged in as ADDC\TFSSetup on the Server (Win2k3 Pro), ADDC\Domain Admins are members of "Administrators" on the server, ADDC\Domain users are members of "Users" on the server - and both groups are allowed to log in locally (checked in "Local Security Policy")

I can't get it...why is this. I'm getting desperated... :(

[2484 byte] By [StevenI.] at [2007-12-20]
# 1

Error TF50604 means that the user running the install is not able to access information about either itself, or the service user. The code that throws this exception also logs more detailed information about the problem in the event log. Could you please look at the event log, and post any entries in the application event log for the “TFS Services” source? The most common reason for this problem is that you are running the install as a local user on the box instead of a domain user.But since you are running the install as ADDC\TFSSetup, this isn’t the problem in this case. The event log entries should help us track down the problem.

--matt hoover

Visual Studio Team Foundation

Software Design Engineer

MatthewHoover at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 2

One other thing.

What functional level are you running on the Domain Controller?

NOTE: NT4 domains and Windows 2000 Native Mode function level are not supported (basically anything that supports NT4 DCs is not supported).

Thanks,

DanKershaw at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 3
I can't find anything useful in the log files...

And regarding the functional level - I don't know what this is. But if it is the Pre-Windows-compatible-mode I've chosen the not-pre-mode.

But I guess I've found a solution. I logged in as every user (Service and Reports), and after that I was able to get a little bit further - but confronted with a new error *yeah*

StevenI. at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 4

where you able to overcome the problem ?

I've encountered the same problem & am still trying to work around it....

TfsGSSInit - Irrecoverable error: TF50604: There was an error getting identity information from Active Directory.
03/06/06 10:42:20 DDSet_Status: Process returned 6130
03/06/06 10:42:20 DDSet_Status: Found the matching error code for return value '6130' and it is: '28002'
03/06/06 10:42:20 DDSet_Error: 6130
MSI (s) (94!F0) [10:56:15:419]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28002.Error unknown.

guyfe at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 5

We haven't been able to diagnose the root cause of this problem. Could you please check the event log on the app tier, and see if there are any events in the application log around this time. I would expect at least one error with a source of 'TFS Service'. Could you please post any events that you find in the event log near the correct time?

Thank you,

--Matt Hoover

Visual Studio Team Foundation

Software Design Engineer

MatthewHoover at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 6

I get the same error about 2/5th's of the way through the install.It's not DNS since our domain controller (Win2k) is also a DNS server and the server (WinXP Server 2003) dedicated to VSTS has a hard-coded IP to the Win2k server. My event log shows:

=====================================================

TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 01/05/2006 7:49:08 AM
Machine: MACHINENAME
Application Domain: TfsGssInit.exe
Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: TfsGssInit
Process Id: 2808
Thread Id: 1424
Account name: domain\tfssetup

Detailed Message: TF50621: GSS: Failed to retrieve identity from source : [<deleted for security reasons>]
Exception Message: The server is not operational.

Name: "domain.companyname.com"
(type ActiveDirectoryServerDownException)

Exception Stack Trace: at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.GetDomainDirectoryEntry(String domain)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromAD(String domain, String username)
at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid)

Inner Exception Details:

Exception Message: The server is not operational.
(type COMException)

Exception Stack Trace: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)

Our Win2k server was running and AD seemed to run just fine, so I don't know where the exception comes from.

Luis Miguel Huapaya

LuisHuapaya at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 7

Hello Matt,

I have just read this post and find that have the same problem. But I haven't active directory .I have OpenLdap 2.2.13 with Samba 3. Is that a problem?

Thank

Gon?alo Ferreira

Gon?aloFerreira at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 8

I don't think this will work.

We have not done any testing of TFS with non Active Directory LDAP servers. Since we are using ADSI to access the AD server, and doing a few AD specific queries, I would not expect TFS to work against a non AD directory server. Note, even if this environment did work, it wouldn't be a supported configuration.

In your environment, you will have to install TFS using local users, and have all of the TFS users be local users of the TFS app tier.

--Matt Hoover
Software Design Engineer
Team Foundation Server

MatthewHoover-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 9

The exception indicates that the installation process was unable to connect to Active Directory. There are two common causes for this exception. The first and most likely is that the user running the setup doesn't have rights to read information from Active Directory. The second is that the DC for your domain was down. Please try the following command when you are logged in as the setup user:

dsquery user -samid <account name> -d <domain> | dsget user -dn -samid -sid -display -email –L

This command performs a query against AD that is similar to what the server does to resolve a user. During setup, we try to resolve both the current user, and the service account user.

--Matt Hoover

MatthewHoover-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 10

I was also facing similar error. It was really irritating that error was occuring multiple times and when u click retry it keeps going on till the progress bar reaches the end and clicking Retry no more works.

This what i did and solved the issue, i login into my VFS server with both VFSSetup and VFSAdmin accounts , just to accure that system is able to retrive userinfo from active directory or not.

I ran the " dsquery user -name vstsadmin* | dsget user -dn -samid -sid -display -email –L" as well which did showed me user info.

I ran the VFS setup again and it worked fine without any errors.

HamzaFarooq at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...
# 11

The setup was complete but when i attempted to create first Team project following error occured

Error
TF30167: The New Team Project Wizard could not finish creating the project VSTSDemo.
Explanation
The following unexpected error was encountered while creating the team project: TF30279: Plug-in with ID "Microsoft.ProjectCreationWizard.Classification" of type "Project Creation Plugins" could not be loaded.
User Action
Restart Visual Studio and run the New Team Project Wizard again. If the problem persists, contact your Team Foundation Server administrator

the log file is

2007-04-06 22:17:13Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.1876392 seconds
2007-04-06 22:17:13Z | Module: Internal | The template information for Team Foundation Server "ARCOMEGYVSTS" was retrieved from the Team Foundation Server. | Completion time: 0.2032758 seconds
2007-04-06 22:17:13Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0.234549 seconds
2007-04-06 22:17:13Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.0312732 seconds
2007-04-06 22:17:33Z | Module: Engine | Thread: 7 | New project will be created with the "MSF for CMMI Process Improvement - v4.0" methodology
2007-04-06 22:17:33Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2007-04-06 22:17:33Z | Module: Engine | TF30227: Project creation permissions retrieved | Completion time: 0.0156366 seconds
2007-04-06 22:17:33Z | Module: Engine | Wrote compressed process template file | Completion time: 0 seconds
2007-04-06 22:17:37Z | Module: Engine | Extracted process template file | Completion time: 3.5495082 seconds
2007-04-06 22:17:37Z | Module: Engine | Thread: 7 | Starting Project Creation for project "VSTSDemo" in domain "ARCOMEGYVSTS"
2007-04-06 22:17:37Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0 seconds
begin Exception entry
Time: 2007-04-06 22:17:37Z
Module: Engine
Event Description: TF30212: The New Team Project Wizard could not create the team project.
Exception Type: Microsoft.TeamFoundation.Client.PluginNotFoundInCatalogException
Exception Message: TF30279: Plug-in with ID "Microsoft.ProjectCreationWizard.Classification" of type "Project Creation Plugins" could not be loaded
Stack Trace:
at Microsoft.TeamFoundation.Client.PluginHelper.ActivatePlugin[T](String type, String pluginId)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.AddTemplatePlugins(MsfTemplate template, PcwPluginCollection pluginCollection)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.CreateProjectAndHandleErrors(String templateFolder)
end Exception entry

2007-04-06 22:17:37Z | Module: Engine | Thread: 7 | Attempting to delete MSF folder "C:\Documents and Settings\Administrator.ARCOMEGY.000\Local Settings\Temp\TPW_tmp2DC.tmp"
2007-04-06 22:17:37Z | Module: Engine | Thread: 7 | The temporary folder C:\Documents and Settings\Administrator.ARCOMEGY.000\Local Settings\Temp\TPW_tmp2DC.tmp used to store the process template was removed.

HamzaFarooq at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Setup...

Visual Studio Team System

Site Classified