Dmitry Makhno

I have created custom WorkItem called "Defect",

In this item I use TFS groups for transition.

Also I delete system.priority field.(If additional info required I wll provide it)

In some cases I see error appears wnen user use project with this WI.

Next Error:

Error Log

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): 16/07/2007 08:20:34

Machine: ALIOTH

Application Domain: /LM/W3SVC/2/Root/Warehouse-4-128290440290652181

Assembly: Microsoft.TeamFoundation.Warehouse, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 1016

Thread Id: 292

Account name: MYDOMAIN\TFSSERVICE

Detailed Message: The pending configuration changes were not successfully added to the cube because of the following error: System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.

at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)

at System.Security.Principal.NTAccount.Translate(Type targetType)

at Microsoft.TeamFoundation.Warehouse.OlapCreator.AddAccountToRole(Role role, String accountName, Boolean needToUpdate)

at Microsoft.TeamFoundation.Warehouse.OlapCreator.SetupAnalysisDatabase(Server server, String analysisDBName)

at Microsoft.TeamFoundation.Warehouse.OlapCreator.CreateOlap(WarehouseConfig whConf, String accessUser, String dataReaderAccount, Boolean dropDB, Boolean processCube)

at Microsoft.TeamFoundation.Warehouse.AdapterScheduler.EnsureCubeIsUpToDate()

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

I can't find the cause of this error, and can't understand what does it mean.

For some users when they checkin VisualStudio2005 holds. (It start happend when I import new workitem)

I've tried to restart Analysis Services Service.

I really can't understand how new WI depend on cheking and TFS errors.

Any ideas

P.S. Also for same projects Warning starts appear:

Warning Log

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): 16/07/2007 08:21:01

Machine: ALIOTH

Application Domain: /LM/W3SVC/2/Root/VersionControl-2-128290420540987573

Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 1016

Thread Id: 4396

Account name: MYDOMAIN\TFSSERVICE

Detailed Message: TF14055: The identity MYDOMAIN\nick is not a recognized domain identity.

Web Request Details

Url: http://alioth:8080/VersionControl/v1.0/integration.asmx [method: POST]

User Agent: Team Foundation Version Control Alert Security Filter 1.0

Headers: Content-Length=530&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8%3b+action%3d%22http%3a%2f%2fschemas.microsoft.com%2fTeamFoundation%2f2005%2f06%2fServices%2fLinking%2f03%2fFilterPaths%22&Accept-Encoding=gzip&Accept-Language=en-US&Expect=100-continue&Host=alioth%3a8080&User-Agent=Team+Foundation+Version+Control+Alert+Security+Filter+1.0&X-TFS-Version=1.0.0.0

Path: /VersionControl/v1.0/integration.asmx

Local Request: True

Host Address: 192.168.0.7

User: MYDOMAIN\TFSSERVICE [authentication type: NTLM]

Exception Message: Access is denied (type Win32Exception)

Exception Stack Trace: at Microsoft.TeamFoundation.NativeMethods.UserSidToGroups(Byte[] sid)

at Microsoft.TeamFoundation.NativeMethods.QueryGroupMembership(String userName)

at Microsoft.TeamFoundation.VersionControl.Server.IntegrationInterface.BulkFilter(IPrincipal userPrincipal, String[] users, String[] versionControlUriList, Int32 alertChangeLimit, ArrayList& restrictions)

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

Is it bad



Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Hua Chen - MSFT

Hello Dmitry:

Is the TFS server in a different domain from the user's domain

If so does server's domain only have one way trust with the domain to which the user accounts belong

Or could you please check if the TFSService account is given permissions on the Data - Tier Analysis Services

Thanks.






Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

James Manning - MSFT

Since this is in SetupAnalysisDatabase -> AddAccessToRole, this should be a failure in resolving either the TFS service account or the TFS reporting services data account.

Can you try to use "dsquery" from the TFS machine for those 2 accounts

http://blogs.msdn.com/jmanning/archive/2007/07/21/debug-your-tfs-domain-authentication-issues-with-dsquery.aspx






Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

Sorry James Manning, I can't understand what params shoud I use

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

I ran:

C:\>dsquery user -samid TFSService -d SCORTO
"CN=TFS Windows services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local"

C:\>dsquery user -samid TFSReports -d SCORTO
"CN=TFS SQL Server Reporting Services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local"

I don't know how to understand these console answers.

Hua Chen,

Is the TFS server in a different domain from the user's domain

If so does server's domain only have one way trust with the domain to which the user accounts belong

They are on the same domain.

Or could you please check if the TFSService account is given permissions on the Data - Tier Analysis Services

I don't know how. How can I check it

Cuold help: for old WIs, work with NO errors, but for my custom "Defect" WI, I don't know when, but described above errors appear.





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

James Manning - MSFT

Close - you got the first part, now you just need to pipe it to dsget.

dsquery user -samid TFSReports -d SCORTO | dsget user -dn -samid -sid -display -email -L






Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

Here it is...

C:\>dsquery user -samid TFSReports -d SCORTO| dsget user -dn -samid -sid -display -email -L
dn: CN=TFS SQL Server Reporting Services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local
samid: TFSREPORTS
sid: S-1-5-21-3300170575-2001745190-2632408611-1112
display: TFS SQL Server Reporting Services
email:

dsget succeeded

C:\>dsquery user -samid TFSService -d SCORTO| dsget user -dn -samid -sid -display -email -L
dn: CN=TFS Windows services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local
samid: TFSSERVICE
sid: S-1-5-21-3300170575-2001745190-2632408611-1111
display: TFS Windows services
email:

dsget succeeded





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

James Manning,

I didn't understand how to read this:

SetupAnalysisDatabase -> AddAccessToRole

Where I have to find it




Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

James Manning - MSFT

Sorry, I was just mentioning that the problem was during our attempt to add the users to SQL roles - your dsquery run is what I was looking for.

Are you on a single-server or dual-server (separate app tier and data tier). If separate, can you try the dsquery from the data-tier machine as well






Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

Application Server and DataBase Server - separate...

I need time to get right to run this on DataBase Server.

Thanks, for you attention.





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

Here is from data-tier (DataBase Server).

C:\>dsquery user -samid TFSReports -d SCORTO| dsget user -dn -samid -sid -display -email -L
dn: CN=TFS SQL Server Reporting Services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local
samid: TFSREPORTS
sid: S-1-5-21-3300170575-2001745190-2632408611-1112
display: TFS SQL Server Reporting Services
email:

dsget succeeded

C:\>dsquery user -samid TFSService -d SCORTO| dsget user -dn -samid -sid -display -email -L
dn: CN=TFS Windows services,OU=TFS Users,OU=Old-stru,OU=Scorto-LAN,DC=SCORTO,DC=local
samid: TFSSERVICE
sid: S-1-5-21-3300170575-2001745190-2632408611-1111
display: TFS Windows services
email:

dsget succeeded

It seems the same.





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

James Manning - MSFT

It does indeed - I'll ping one of the AD experts on the TFS team to take a look at this thread and see if they know what's going on.

Thanks for the output!






Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

As additional here is

WI Description

< xml version="1.0" encoding="utf-8" >
<WITD application="Work item type editor" version="1.0">
<WORKITEMTYPE name="Defect">
<DESCRIPTION>Includes information to track the work to resolve the Bug and to verify its resolution.</DESCRIPTION>
<FIELDS>
<FIELD type="Integer" name="Id" refname="System.Id" />
<FIELD type="String" name="Title" refname="System.Title">
<HELPTEXT>Short description of the bug used to differentiate it in a list or report.</HELPTEXT>
<REQUIRED />
</FIELD>
<FIELD type="String" name="Assigned To" refname="System.AssignedTo" reportable="dimension">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value="[Project]\Developers" />
</ALLOWEDVALUES>
<READONLY not="[Project]\Project Leads" />
<CANNOTLOSEVALUE/>
</FIELD>
<FIELD type="TreePath" name="Area Path" refname="System.AreaPath">
<HELPTEXT>The area of the product with which this bug is associated</HELPTEXT>
</FIELD>
<FIELD type="TreePath" name="Iteration Path" refname="System.IterationPath">
<HELPTEXT>The iteration of the product with which this bug is associated</HELPTEXT>
</FIELD>
<FIELD type="History" name="History" refname="System.History">
<HELPTEXT>Discussion thread and other historical information</HELPTEXT>
</FIELD>
<FIELD type="String" name="State" refname="System.State">
<HELPTEXT>The workflow state of the bug</HELPTEXT>
</FIELD>
<FIELD type="String" name="Reason" refname="System.Reason">
<HELPTEXT>The reason why the bug is in the current state.</HELPTEXT>
</FIELD>
<FIELD type="DateTime" name="Changed Date" refname="System.ChangedDate" />
<FIELD type="String" name="Changed By" refname="System.ChangedBy">
<VALIDUSER />
</FIELD>
<FIELD type="DateTime" name="Created Date" refname="System.CreatedDate" />
<FIELD type="String" name="Created By" refname="System.CreatedBy" />
<FIELD type="PlainText" name="Description" refname="System.Description" />
<FIELD reportable="dimension" type="String" name="Issue" refname="Microsoft.VSTS.Common.Issue">
<HELPTEXT>Used to highlight the bug, e.g., to mark it as an issue.</HELPTEXT>
<REQUIRED />
<ALLOWEDVALUES>
<LISTITEM value="Yes" />
<LISTITEM value="No" />
</ALLOWEDVALUES>
<DEFAULT from="value" value="No" />
</FIELD>
<FIELD type="DateTime" name="State Change Date" refname="Microsoft.VSTS.Common.StateChangeDate">
<WHENCHANGED field="System.State">
<SERVERDEFAULT from="clock" />
</WHENCHANGED>
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="DateTime" name="Activated Date" refname="Microsoft.VSTS.Common.ActivatedDate">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="String" name="Activated By" refname="Microsoft.VSTS.Common.ActivatedBy">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="DateTime" name="Resolved Date" refname="Microsoft.VSTS.Common.ResolvedDate">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="String" name="Resolved By" refname="Microsoft.VSTS.Common.ResolvedBy">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="String" name="Resolved Reason" refname="Microsoft.VSTS.Common.ResolvedReason" />
<FIELD reportable="dimension" type="DateTime" name="Closed Date" refname="Microsoft.VSTS.Common.ClosedDate">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="String" name="Closed By" refname="Microsoft.VSTS.Common.ClosedBy">
<WHENNOTCHANGED field="System.State">
<READONLY />
</WHENNOTCHANGED>
</FIELD>
<FIELD reportable="dimension" type="String" name="Severity" refname="Microsoft.VSTS.Common.Severity">
<HELPTEXT>Severity to the business</HELPTEXT>
<ALLOWEDVALUES>
<LISTITEM value="1 - Critical" />
<LISTITEM value="2 - Major" />
<LISTITEM value="3 - Average" />
<LISTITEM value="4 - Minor" />
</ALLOWEDVALUES>
<DEFAULT from="value" value="3 - Average" />
</FIELD>
<FIELD reportable="dimension" type="String" name="Triage" refname="Microsoft.VSTS.Common.Triage">
<HELPTEXT>Status of triaging the bug</HELPTEXT>
<ALLOWEDVALUES>
<LISTITEM value="Approved" />
<LISTITEM value="Investigate" />
</ALLOWEDVALUES>
</FIELD>
<FIELD reportable="dimension" type="String" name="Rank" refname="Microsoft.VSTS.Common.Rank">
<HELPTEXT>Stack rank used to prioritize work</HELPTEXT>
</FIELD>
<FIELD reportable="detail" type="String" name="Test Name" refname="Microsoft.VSTS.Test.TestName">
<HELPTEXT>The name of the test that found this bug</HELPTEXT>
</FIELD>
<FIELD reportable="detail" type="String" name="Test Id" refname="Microsoft.VSTS.Test.TestId">
<HELPTEXT>The Id of the test that found this bug</HELPTEXT>
</FIELD>
<FIELD reportable="detail" type="String" name="Test Path" refname="Microsoft.VSTS.Test.TestPath">
<HELPTEXT>The full pathname of the test that found this bug</HELPTEXT>
</FIELD>
<FIELD reportable="dimension" type="String" name="Found In" refname="Microsoft.VSTS.Build.FoundIn">
<HELPTEXT>The build in which the bug was found</HELPTEXT>
<SUGGESTEDVALUES>
<LISTITEM value="&lt;None&gt;" />
</SUGGESTEDVALUES>
<WHEN field="System.State" value="Proposed">
<REQUIRED for="[project]\Testers"/>
</WHEN>
</FIELD>
<FIELD reportable="dimension" type="String" name="Integration Build" refname="Microsoft.VSTS.Build.IntegrationBuild">
<HELPTEXT>The build in which the bug was fixed</HELPTEXT>
<SUGGESTEDVALUES>
<LISTITEM value="&lt;None&gt;" />
</SUGGESTEDVALUES>
</FIELD>
<FIELD type="String" name="Type" refname="Scorto.Type">
<HELPTEXT>Defines Bug Type</HELPTEXT>
<ALLOWEDVALUES>
<LISTITEM value="Bug" />
<LISTITEM value="Improvement" />
<LISTITEM value="Task" />
</ALLOWEDVALUES>
<DEFAULT from="value" value="Bug" />
</FIELD>
<FIELD type="String" name="IsInternal" refname="Scorto.Internal">
<HELPTEXT>Define is it bug internal or come from customer.</HELPTEXT>
<ALLOWEDVALUES>
<LISTITEM value="Yes" />
<LISTITEM value="No" />
</ALLOWEDVALUES>
<DEFAULT from="value" value="Yes" />
</FIELD>
<FIELD type="Double" name="Baseline Work" refname="Microsoft.VSTS.Scheduling.BaselineWork">
<WHEN field="Scorto.Type" value="Task">
<REQUIRED/>
</WHEN>
</FIELD>
</FIELDS>
<WORKFLOW>
<!-- , , . -->
<STATES>
<STATE value="Proposed"></STATE>
<STATE value="Illegal"></STATE>
<STATE value="Postponed"></STATE>
<STATE value="Submitted"></STATE>
<STATE value="Assigned"></STATE>
<STATE value="Opened">
<!-- , -->
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ResolvedDate"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedReason"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy"><EMPTY /></FIELD>
</FIELDS>
</STATE>
<STATE value="Rejected"></STATE>
<STATE value="Resolved">
<!-- , , -->
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy"><EMPTY /></FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedReason"><COPY from="field" field="System.Reason" /></FIELD>
</FIELDS>
</STATE>
<STATE value="Closed"></STATE>
<STATE value="Duplicate"></STATE>
</STATES>


<TRANSITIONS>
<!-- 01 --><TRANSITION from="" to="Proposed">
<REASONS><DEFAULTREASON value="New" /></REASONS>
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<COPY from="currentuser" />
<VALIDUSER />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
<!--<FIELD refname="System.AssignedTo">
<DEFAULT from="currentuser" />
</FIELD>-->
</FIELDS>
</TRANSITION>
<!-- 02 --><TRANSITION from="Proposed" to="Illegal" for="[project]\QA Leads">
<REASONS><DEFAULTREASON value="Info Rquired" /></REASONS>
</TRANSITION>
<!-- 03 --><TRANSITION from="Illegal" to="Proposed" for="[project]\Testers">
<REASONS><DEFAULTREASON value="Update" /></REASONS>
</TRANSITION>
<!-- 04 --><TRANSITION from="Proposed" to="Duplicate" for="[project]\QA Leads">
<REASONS><DEFAULTREASON value="Duplicate" /></REASONS>
</TRANSITION>
<!-- 05 --><TRANSITION from="Duplicate" to="Proposed" for="[project]\Testers">
<REASONS><DEFAULTREASON value="Update" /></REASONS>
</TRANSITION>
<!-- 06 --><TRANSITION from="Proposed" to="Submitted" for="[project]\Reviewers">
<REASONS><DEFAULTREASON value="Review" /></REASONS>
</TRANSITION>
<!-- 07 --><TRANSITION from="Submitted" to="Duplicate" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Duplicate" /></REASONS>
</TRANSITION>
<!-- 08 --><TRANSITION from="Assigned" to="Duplicate" for="[project]\Developers">
<REASONS><DEFAULTREASON value="Duplicate" /></REASONS>
</TRANSITION>
<!-- 09 --><TRANSITION from="Submitted" to="Postponed" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Deffered" /></REASONS>
</TRANSITION>
<!-- 10 --><TRANSITION from="Assigned" to="Postponed" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Deffered" /></REASONS>
</TRANSITION>
<!-- 11 --><TRANSITION from="Opened" to="Postponed" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Deffered" /></REASONS>
</TRANSITION>
<!-- 12 --><TRANSITION from="Postponed" to="Assigned" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Review" /></REASONS>
</TRANSITION>
<!-- 13 --><TRANSITION from="Opened" to="Resolved" for="[project]\Developers">
<REASONS>
<DEFAULTREASON value="Fixed" />
<REASON value="As Designed"/>
<REASON value="Cannot Reproduce"/>
<REASON value="Obsolete"/>
</REASONS>
<FIELDS>
<!--<FIELD refname="System.AssignedTo">
<COPY from="field" field="System.CreatedBy" />
</FIELD>-->
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<READONLY />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<READONLY />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
<COPY from="currentuser" />
<VALIDUSER />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
</FIELDS>
</TRANSITION>
<!-- 14 --><TRANSITION from="Resolved" to="Rejected" for="[project]\Testers">
<REASONS><DEFAULTREASON value="Not Resolved" /></REASONS>
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<COPY from="currentuser" />
<VALIDUSER />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
<FIELD refname="System.AssignedTo">
<COPY from="field" field="Microsoft.VSTS.Common.ResolvedBy" />
</FIELD>
</FIELDS>
</TRANSITION>
<!-- 15 --><TRANSITION from="Submitted" to="Illegal" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Cannot Understand" /></REASONS>
</TRANSITION>
<!-- 16 --><TRANSITION from="Rejected" to="Opened" for="[project]\Developers">
<REASONS><DEFAULTREASON value="Refixing" /></REASONS>
</TRANSITION>
<!-- 17 --><TRANSITION from="Resolved" to="Closed" for="[project]\Testers">
<REASONS>
<DEFAULTREASON value="Fixed" />
<REASON value="As Designed"/>
<REASON value="Cannot Reproduce"/>
<REASON value="Obsolete"/>
</REASONS>
</TRANSITION>
<!-- 18 --><TRANSITION from="Closed" to="Rejected" for="[project]\Testers">
<REASONS><DEFAULTREASON value="Reactivation" /></REASONS>
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<COPY from="currentuser" />
<VALIDUSER />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
<FIELD refname="System.AssignedTo">
<COPY from="field" field="Microsoft.VSTS.Common.ResolvedBy" />
</FIELD>
</FIELDS>
</TRANSITION>
<!-- 19 --><TRANSITION from="Duplicate" to="Closed" for="[project]\Testers">
<REASONS><DEFAULTREASON value="Duplicate" /></REASONS>
</TRANSITION>
<!-- 20 --><TRANSITION from="Submitted" to="Assigned" for="[project]\Project Leads">
<REASONS><DEFAULTREASON value="Assign" /></REASONS>
</TRANSITION>
<!-- 21 --><TRANSITION from="Assigned" to="Opened" for="[project]\Developers">
<REASONS><DEFAULTREASON value="Working on" /></REASONS>
</TRANSITION>
<!-- 22 --><TRANSITION from="Postponed" to="Resolved" for="[project]\Project Leads">
<REASONS>
<DEFAULTREASON value="Obsolete" />
</REASONS>
<FIELDS>
<!--<FIELD refname="System.AssignedTo">
<COPY from="field" field="System.CreatedBy" />
</FIELD>-->
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<READONLY />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<READONLY />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
<COPY from="currentuser" />
<VALIDUSER />
<REQUIRED />
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
<SERVERDEFAULT from="clock" />
</FIELD>
</FIELDS>
</TRANSITION>
</TRANSITIONS>

</WORKFLOW>
<FORM>
<Layout>
<Group>
<Column PercentWidth="70">
<Control FieldName="System.Title" Type="FieldControl" Label="&amp;Title:" LabelPosition="Left" />
</Column>
<Column PercentWidth="23">
<Control FieldName="Scorto.Type" Type="FieldControl" Label="Type:" LabelPosition="Left" />
</Column>
<Column PercentWidth="7">
<Control FieldName="Scorto.Internal" Type="FieldControl" Label="Intern:" LabelPosition="Left" />
</Column>
</Group>
<Group>
<Column PercentWidth="66">
<Group Label="Classification">
<Column PercentWidth="100">
<Control FieldName="System.AreaPath" Type="WorkItemClassificationControl" Label="&amp;Area:" LabelPosition="Left" />
<Control FieldName="System.IterationPath" Type="WorkItemClassificationControl" Label="&amp;Iteration:" LabelPosition="Left" />
</Column>
</Group>
</Column>
<Column PercentWidth="34">
<Group Label="General">
<Column PercentWidth="100">
<Control FieldName="Microsoft.VSTS.Build.FoundIn" Type="FieldControl" Label="&amp;Found in build:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Build.IntegrationBuild" Type="FieldControl" Label="Resolved in &amp;build:" LabelPosition="Left" />
</Column>
</Group>
</Column>
</Group>
<Group Label="Status">
<Column PercentWidth="33">
<Control FieldName="System.AssignedTo" Type="FieldControl" Label="Assi&amp;gned to:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Common.Rank" Type="FieldControl" Label="Ran&amp;k:" LabelPosition="Left" NumberFormat="WholeNumbers" MaxLength="10" />
</Column>
<Column PercentWidth="33">
<Control FieldName="System.State" Type="FieldControl" Label="&amp;State:" LabelPosition="Left" />
<Control FieldName="System.Reason" Type="FieldControl" Label="&amp;Reason:" LabelPosition="Left" />
</Column>
<Column PercentWidth="33">
<Control FieldName="Microsoft.VSTS.Common.Severity" Type="FieldControl" Label="Severit&amp;y:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Common.Issue" Type="FieldControl" Label="Iss&amp;ue:" LabelPosition="Left" />
</Column>
</Group>
<TabGroup>
<Tab Label="Description">
<Control FieldName="System.Description" Type="HtmlFieldControl" Label="Des&amp;cription:" LabelPosition="Top" Dock="Fill" />
</Tab>
<Tab Label="History">
<Control FieldName="System.History" Type="WorkItemLogControl" Label="&amp;History:" LabelPosition="Top" Dock="Fill" />
</Tab>
<Tab Label="Links">
<Control Type="LinksControl" LabelPosition="Top" />
</Tab>
<Tab Label="File Attachments">
<Control Type="AttachmentsControl" LabelPosition="Top" />
</Tab>
<Tab Label="Details">
<Group>
<Column PercentWidth="50">
<Group Label="Additional Status">
<Column PercentWidth="100">
<Control FieldName="Microsoft.VSTS.Common.Triage" Type="FieldControl" Label="Triag&amp;e:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Scheduling.BaselineWork" Type="FieldControl" Label="Estimate:" LabelPosition="Left" />
</Column>
</Group>
</Column>
<Column PercentWidth="50">
<Group Label="Test">
<Column PercentWidth="100">
<Control FieldName="Microsoft.VSTS.Test.TestName" Type="FieldControl" Label="&amp;Name:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Test.TestId" Type="FieldControl" Label="I&amp;d:" LabelPosition="Left" />
<Control FieldName="Microsoft.VSTS.Test.TestPath" Type="FieldControl" Label="&amp;Path:" LabelPosition="Left" />
</Column>
</Group>
</Column>
</Group>
</Tab>
</TabGroup>
</Layout>
</FORM>
</WORKITEMTYPE>
</WITD>

I've imported this WI to default MSF Agile Template 4.0 and 4.1.

As I talked I replace Priority on Severity.

As I understand 4.x has in FileMapping.xml link to Priority. Could it be cause

And as you can see there are a lot of for="[project]\***"

I think it happend more often for 4.0.

I don't know what to add.

Thanks, for yours attention!





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Mauli Shah - MSFT

Hi Dmitry,

Can you checkout Othmane's answer on this post:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1890636&SiteID=1

See if that works for you. Thanks.





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Dmitry Makhno

Yes, it helps!!! I also found that this error was fired by TFS Sheduller using http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx op=Run

And after step #19, I recomend to reprocess AnalysisService, as described below in the guide.

Is there any reason why this starts happen

Thanks, Everyone.





Re: Team Foundation Server - Reporting & Warehouse TF53010: An unexpected condition has occurred in a Team Foundation component.+System.Security.Principal.IdentityNotMappedExcept

Mauli Shah - MSFT

It's usually because there are some invalid accounts that have permissions to the cube. So either removing those accounts or rebuilding the cube fixes that issue. Thanks for the tip about reprocessing!