Monthly archive - December 2009

TFS Active Directory Synch Error TF53010 and TF200035

Updates were made at work to remove all users for a domain that has been decommissioned. The Event Viewer returned the following error for every user that no longer existed.

Error:

Event Type:        Error

Event Source:    TFS Services

Event Category:                None

Event ID:              3071

Date:                     12/20/2009

Time:                    12:24:32 AM

User:                     N/A

Computer:          ApplicationTier

Description:

TF53010: The following error has occurred in a Team Foundation component or extension:

Date (UTC): 12/20/2009 5:24:32 AM

Machine: ApplicationTier

Application Domain:  #######

Assembly: Microsoft.TeamFoundation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=1234555; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 1234

Thread Id: 1224

Account name: SERVICE ACCOUNT

Detailed Message: TF200035: One or more errors occurred when Team Foundation Server attempted to synchronize with the following Active Directory identity: TFSGuy. Number of errors that occurred: 1.

An error occurred when trying to read the following Active Directory distinguished name: CN=A-###-##-#######-###,CN=%@%@%@%@%,DC=dad,DC=###,DC=###. This identity was not added to the Active Directory identity listed above, or if it had already been added, it has been removed. Exception message: No mapping between account names and security IDs was done.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

FIX:

Execute the TFSSecurity command to identify the Groups the user (TFSGuy)belongs to in TFS and remove them or have the user added to the Active Directory.

tfssecurity /server:ApplicationTier /imx n:TFSGuy

Other Links:

http://msdn.microsoft.com/en-us/library/ms252504(VS.80).aspx (TFSSecurity)

http://msdn.microsoft.com/en-us/library/ms253088(VS.80).aspx (Command Line Tools)

TFS Windows SharePoint Services 3 Version Error

While checking the Event Viewer(Application) Errors on the  TFS Application Tier for an unrelated issue I noticed and error for Windows SharePoint Services (WSS) and found the following:

Error:

Event Type:        Error

Event Source:    Windows SharePoint Services 3

Event Category:                Topology

Event ID:              5617

Date:                     12/19/2009

Time:                    8:04:56 PM

User:                     N/A

Computer:          TFSAppTier

Description:

The schema version (3.0.149.0) of the database WSS_Content_123 on TFSDataTier is not consistent with the expected database schema version (3.0.151.0) on TFSAppTier.  Connections to this database from this server have been blocked to avoid data loss.  Upgrade the web front end or the content database to ensure that these versions match.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

There are a number of fixes listed for this error in other forums, however the easiest option resolved the issue for me. (  Try Locating the SharePoint Products and Technologies Configuration Wizard un Administrative Tools first, and if you do not have the link available proceed with the steps below. )  After the fix the sites were restored.

FIX:

Start the Windows SharePoint Services Administration service using the Services applet (Start, Run, Services.msc) and run SharePoint Products and Technologies Configuration Wizard.

Link to other Fixes:

http://littletalk.wordpress.com/2008/02/18/upgrade-the-web-front-end-or-the-content-database-to-ensure-that-these-versions-match/

Optional Command for Verification:

The following command will return the settings for SharePoint.

D:Program FilesMicrosoft Visual Studio 2008 Team Foundation ServerTools> TfsAdminUtil ConfigureConnections /view

TfsAdminUtil – Team Foundation Admin Utility

Copyright (c) Microsoft Corporation.  All rights reserved.