Error using TFS Power Tools – Task “WITs” from Group “WorkItemTracking” failed

You might have come across this error while trying to create a new Team Poject using TFS Power Tools

2012-05-28T10:05:52 | Module: Work Item Tracking | Thread: 17 | Uploading work item type from file ‘C:\Documents and Settings\usdr\Local Settings\Temp\TPW_tmp23.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml’…<br>—begin Exception entry—<br>Time: 2012-05-28T10:05:52<br>Module: Engine<br>Event Description: TF30162: Task “WITs” from Group “WorkItemTracking” failed<br>Exception Type: Microsoft.TeamFoundation.Client.PcwException<br>Exception Message: TF24016: Cannot find team project ‘MyTestG’.<br>Stack Trace:<br>at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)<br>at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)<br>at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)<br>– Inner Exception –<br>Exception Message: TF24016: Cannot find team project ‘MyTestG’. (type WitPcwFatalException)

In most cases this error is due to cache problem on the user’s local machine where this tool is being run from. To resolve this issue

1. Close any instances of Visual Studio if open.

2. Delete everything from this location C:\Users\{username}\AppData\Local\Microsoft\Team Foundation\3.0\Cache


Hope this helps!

Leave a Comment

Your email address will not be published.

3 Trackbacks