Again, this is a work item validation result (“TF237159: The query contains columns that are not valid”). It happens when you are trying to access the work items in question (even just the query result contains those work items).
If you are getting this error, you might have deleted work item fields from “WitAdmin deletefield” command or modified the TFS database table (Fields) directly.
- Apply TFS 2010 SP1 can fix the error caused by witadmin deletefield
- If it is because you changed the work item definition (especially from the database directly), change it back and follow the right steps for renaming the reference name of work item definition