TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration
While upgrading a Team Foundation Server instance to the latest bits, I ended up with the following error (again):
TF400917: The current configuration is not valid for this feature. This feature cannot be used until you correct the configuration.
This time the issue was not related to some missing work item states, but to an invalid configuration of one of the Add panels. The Add panel allows you to quickly add new work items in the web access:
In our case the Add Panel was customized to show some extra fields and these fields were no longer available after the TFS upgrade.
To fix it, I exported the process configuration file using witadmin exportprocessconfig and removed the invalid field from the AddPanel configuration:
Afterwards I imported the process configuration again using witadmin importprocessconfig.
This article brought me to the solution: http://www.codeproject.com/Articles/739438/TF-The-current-configuration-is-not-valid-for-this.