Recently I was performing a upgrade from TFS 2010 to TFS 2013. During the upgrade process on step number 7, I received an error:
After a upgrade to TFS 2013 and you get the TF400509 message. You will need to set the iterations and Areas for that Team Project. Below is the basic walkthrough on how to do this.