Ask a questionAsk a question
 

AnswerError: Failed to load the work item history

  • Thursday, April 27, 2006 4:08 PMDaniel J Segan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm getting an error message when i attempt to do a check in that says:

    Checkin:

    Failed to load the work item history

    Reason: Root element is missing.

    This just started happening yesterday and I am not sure why. The check in process seems to work but it produces this dialoge box several times.

    I can't seem to find any info about this. Has anyone else seens this?

    So far i have tried rebooting my machine, deleting my solution and pulling it back down from source control, and disconnecting from TFS and re-creating my connection.

     

     

Answers

  • Tuesday, June 20, 2006 2:23 PMTan Phan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sorry for replying to your post so late...

    The error indicates that the XML content of the work item history cache file located at C:\Documents and Settings\<YourLogin>\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\WorkItemHistory_<YourServerGuid>.config is somehow corrupted or empty.

    Locate and delete this XML file. Restart VS and you should be on your way.

    Deleting this file clears the local work item history cache and does not affect the server or its data in anyway.

All Replies

  • Tuesday, June 20, 2006 2:23 PMTan Phan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sorry for replying to your post so late...

    The error indicates that the XML content of the work item history cache file located at C:\Documents and Settings\<YourLogin>\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\WorkItemHistory_<YourServerGuid>.config is somehow corrupted or empty.

    Locate and delete this XML file. Restart VS and you should be on your way.

    Deleting this file clears the local work item history cache and does not affect the server or its data in anyway.