“TF14045: The identity is not a Recognized

2019-04-17 08:45发布

问题:

We recently migrated from TFS 2005 to TFS 2010 to TFS 2012 (Update 4)

TFS 2005 to TFS 2010 was done through a upgrade process. TFS 2010 to TFS 2012 was done through a detach (from TFS2010 box) and re-attach method (on TFS 2012 box)

One of our users is getting the following error.

“TF14045: The identity is not a Recognized identity”

The problem seems to be related to his machine name & workspace.

When I try to search TFS workspaces by computer name using Team Foundation Sidekicks 2012, I get the same error.

If the person works from a different pc, he doesn't have any issue.

Here is some stuff that I've tried

  • I tried deleting his profile and that didn't work.
  • Tried installing vs2013 to see if it's a Visual studio 2010 issue and that didn't work
  • Reinstalled the pc but with the same name and I'm still getting the error.
  • Tried to change the pc name, take it out of the domain, re-connect to the domain but that didn't work

I haven't tried to rebuild the machine again but with a different name to see what happens. I just want to see if anyone has any suggestions before I redo that long task.

回答1:

In the end, I rebuilt the pc with a brand new name. After that the user had no more issues logging in.

I still get the error when I search TFS by machine name in Team Foundation Sidekicks but I think an answer to that is a lost cause.

**

update - After 2 years, I decided to go clean up old workspaces in TFS. I noticed that still having the reported issue when trying view all my workspaces on a specific collection.

(tf workspaces /owner:* /computer:* /collection:....)

I opened up an incident ticket with Microsoft.

The answer, after a bit of troubleshooting, was to clear out the bad from the collection table - tbl_VCIdentityMap

Once we cleared out the first entry, i would retry the tf workspaces command and a new guid error would pop up.

I ended up clearing 25 entries from that table and then the issue with tf workspaces went away.

The guid that would pop up in the error message equals the TeamFoundationServerId located in many of the collection tables.



回答2:

I've done OK: I rename/remove Workspace that connect error from TFS_Database.dbo.tbl_Workspace