Megosztás a következőn keresztül:


TFS 2015.2 – Team project creation fails with TF51541: The Node ID is not recognized

TFS Versions: TFS 2015.2/TFS 2015.2.1

Recently, we have seen a few users experiencing the below error when attempting to create new team projects on their recently upgraded TFS 2015.2 / TFS 2015.2.1 collections.

Error
TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking.
Explanation
Plugin error text: “Work item type validation failed. The operation cannot be completed.”
User Action
Contact your Team Foundation Server administrator.

Note:

  1. You will be able to successfully create new Team projects on newly created collections.
  2. Users will be able to edit/save or create new workitems on the existing projects of the collections.
  3. You will be experiencing error with Team project creation and only on certain collections that were upgraded from previous TFS versions.

Detailed stack trace from the log will have the following exception logged in.

---begin Exception entry---
Time: 2016-xx-xTx:x:x
Module: Work Item Tracking
Exception Message: TF51541: The Node ID is not recognized: xxx  (type VssServiceException)
Exception Stack Trace:    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__79.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__76`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__65`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__64`1.MoveNext()
--- end Exception entry ---
2016-xx-xTx:x:x | Module: Work Item Tracking | Thread: 41 | Uploaded WorkItemType definition from C:\Users\sindujak\AppData\Local\Temp\<name>.tmp\WorkItem Tracking\TypeDefinitions\<WIT>.xml.
---begin Exception entry---
Time: 2016-xx-xTx:x:x
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed\
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
--   Inner Exception   --
Exception Message: Work item type validation failed. The operation cannot be completed. (type WitPcwFatalException)
Exception Stack Trace:    at
Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(Stringfile, Boolean execute)   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Execute()   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, BooleanfExecute)   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
--- end Exception entry ---

The cause of failure is due to few artifacts that were not cleared from the database at the time of project deletion.
The fix for this will be shipped with TFS 2015 Update 3.

As of now, if you are running into this problem, please open up a support incident with Microsoft support for the fix.

Cheers!

Content: Sinduja Karruppiah