TFS 2012 – VersionControl.config is not valid and cannot be loaded

I experienced a strange problem with TFS 2012. I spent a day before I figured it out. Just want to share my knowledge on the problem that might help other people.

It was working before with no problem for about 2 years. But suddenly, the builds started failing. When I checked the log ( ActivityLog.xml) I found that the issue was due to VersionControl.config and log said ” The cache file C:\Users\SXJ3619\AppData\Local\Microsoft\Team Foundation\4.0\Cache\VersionControl.config is not valid and cannot be loaded.
Please correct or delete the file.”

To resolve the issue, I went ahead and Deleting/renaming the file C:\Users\\AppData\Local\Microsoft\Team Foundation\4.0\Cache\VersionControl.config solved the issue in my case.


I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *