Caveat installing TFS SP1 beta on a workgroup server

Well I did it again, I tried to install the server side service pack on Team Foundation server and I broke it again J

 

Looks like I am gifted in running into issues when installing the beta versions of the service packs. The issue I ran into this time is the following:

The Service pack for TFS fails with an error 28002 Error Unknown

To diagnose the problem I looked at the %temp% folder and found the log file in the sp subfolder. (Just type %temp% in your run box and it will open up the temporaty folder used by the installer)

The logfile contains the following entry that sounds pretty problematic:

10/06/06 12:42:29 DDSet_Status: Commandline: "C:Program FilesMicrosoft Visual Studio 2005 Team Foundation ServerTF SetupTfsGssInit.exe" /setup /repair "TFSRTM" "TfsIntegration" "TFSRTMtfsservice"  /Workgroup
10/06/06 12:42:29 DDSet_Status: IgnoreExitCode: 0
10/06/06 12:42:29 DDSet_Status: Silent: 0
10/06/06 12:42:29 DDSet_Status: ActionStart: 0
10/06/06 12:42:29 DDSet_Status: Cost: 0
10/06/06 12:42:29 DDSet_Status: WorkingDirectory:
10/06/06 12:42:29 DDSet_Status: HideCmdLine: 0
TfsGSSInit – Team Foundation Server GSS Initialization Tool
(C) Copyright 2006 Microsoft Corporation. All rights reserved.

User Administrator already a member of the Administration group.
User tfsservice already a member of the Service Users group.
The Licensed Users group already exists.

TfsGSSInit – Irrecoverable error: TF50626: Maximum users (5) in License group. Unable to add Administrator.
10/06/06 12:42:29 DDSet_Status: Process returned 6130
10/06/06 12:42:29 DDSet_Status: Found the matching error code  for return value '6130' and it is: '28002'
10/06/06 12:42:29 DDSet_Error:  6130
MSI (s) (CC!BC) [12:42:29:756]: Transforming table Error.

MSI (s) (CC!BC) [12:42:29:756]: Transforming table Error.

MSI (s) (CC!BC) [12:42:29:756]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (3C:F4) [12:42:29:766]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Now the one million dollar question, how can you mitigate this problem?

It is something that will be fixed in the final release of the service pack, but the way to get around this issue with the beta, is to make sure your TFS workgroup server has not more then 4 accounts configured. If you used up all 5 allowed users, the service pack will fail. Best thing to do is to remove a user temporarily and then run the Service Pack. After installation you add the user back to the system and then it will all work fine.