怪現象 TFS2012 , TF14045 the identity guid is not a recognized identity
遇到 TF14045 識別(Identity)錯誤,原本以為是 TFS2012 Update1的錯誤,但是與微軟連繫後,取得 hotfix 安裝後,仍是無法解決。
後來直接使用 SQL Profiler 抓取 TFS 的動作後,發現有以下指令
↓SQL Profilier請抓取 SP:Completed 及 RPC:Completed 這兩個事件
1: declare @p3 dbo.typ_GuidInt32Table
2: insert into @p3 values('<IDENTITY-GUID>',0)
3:
4: exec prc_ReadIdentities @partitionId=1,@descriptors=default,@ids=@p3
5:
6: declare @p2 dbo.typ_GuidTable
7: insert into @p2 values('<IDENTITY-GUID>')
8:
9: exec prc_ReadGroupMembership @partitionId=1,@identityIds=@p2,@childrenQuery=0,@parentsQuery=0,@includeRestricted=0,@minInactivatedTime=NULL,@scopeId='<SCOPE-GUID>',@returnVisibleIdentities=1;
LINE4,會出現結果,但是 LINE9就回傳空的結果集,這就有可能造成爆炸的原因。
解決的方式為:
在專案中加入此使用者,再查詢後就會 Active=1 的結果,若不需要此使用者繼續參與專案的話,可以再移除,此時會出現 Active=0
參考資訊:
升级TFS2012查看SOURCE-history部分提示TF14045: The identity xxx is not a recognized identity
升级TFS2012查看SOURCE-history部分提示TF14045: The identity xxx is not a recognized identity