We have done a very standard installation of TFS and sharepoint 2013 on a Windows Server 2012 box, and am now just trying to create a New Team Project in Visual Studio 2013. We continuously get this error when creating a Team Project. This happens regardless of the process template selected:
Event Description: TF30162: Task "TestResolutionState" from Group "TestManagement" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: System.MissingFieldException: Field not found: 'Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet'.
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets()
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject..ctor(TestManagementService manager, String projectName)
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.<GetTeamProject>b__0(String name)
at Microsoft.TeamFoundation.TestManagement.Client.ObjectCache`2.Get(Key key, Creator creator)
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.GetTeamProject(String projectName)
at Microsoft.TeamFoundation.TestManagement.PcwPlugin.ContextWrapper.get_Project()
at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.SetPermissionsIfNeeded(ContextWrapper wrapper)
at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
Stack Trace:
at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.TeamFoundation.TestManagement.PcwPlugin.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)
It is quite strange. I can see the fields available in the WitCategoryRefName class, and sure enough "SharedDataSet" is not one of them. See this link documenting this class:
http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.testmanagement.common.witcategoryrefname.aspx
So why is TFS looking for it? I have read many threads about TF30162 but nobody seems to have this specific problem.