I have a bit of a strange problem. I was trying to add a new State to my UserStory type via the Team Project Manager tool (http://teamprojectmanager.codeplex.com/). In the inline editor I added a new and clicked Ok. Clearly I did something wrong as it errored out. When I tried to open it again, all the context except the root xml tag was gone.
Naturally now my Product Backlog doesnt work. It says
"TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration."
I can load the queries section of the backlog and view all the stories & tasks, but the backlog just won't load. I have downloaded all available templates from Visual Studio and compared them, even uploaded them. Nothing fixes the backlog. I am not sure what template it's using for the backlog sadly. I have spent the last 3 days trying to fix this to no avail. We dont really have anything in the backlog that we would be sad to lose but creating a new Collection and starting over is out of the question.
I have no idea what to do. Any help I could get would be awesome. Thank you.
Oh, I opened the log from the Team Project Manager and I think this is the error that it threw that caused the problem:
TeamProjectManager Error: 0 : [T01] [1/22/2016 3:36:22 PM] An unexpected exception occurred while importing work item types: Root element is missing.
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at TeamProjectManager.Modules.WorkItemConfiguration.WorkItemConfigurationItemImportExport.ReplaceTeamProjectMacros(XmlDocument xml, IDictionary`2 macros) in C:\Users\jelled\Desktop\Code\TeamProjectManager\Main\TeamProjectManager.Modules.WorkItemConfiguration\WorkItemConfigurationItemImportExport.cs:line 284
at TeamProjectManager.Modules.WorkItemConfiguration.WorkItemConfigurationItemImportExport.Import(ILogger logger, ApplicationTask task, Boolean setTaskProgress, WorkItemStore store, Dictionary`2 teamProjectsWithConfigurationItems, ImportOptions options) in C:\Users\jelled\Desktop\Code\TeamProjectManager\Main\TeamProjectManager.Modules.WorkItemConfiguration\WorkItemConfigurationItemImportExport.cs:line 31
at TeamProjectManager.Modules.WorkItemConfiguration.WorkItemTypesViewModel.<>c__DisplayClass101_0.<PerformImport>b__1(Object sender, DoWorkEventArgs e) in C:\Users\jelled\Desktop\Code\TeamProjectManager\Main\TeamProjectManager.Modules.WorkItemConfiguration\WorkItemTypesViewModel.cs:line 616
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)