TFS Error while downloading files to workspace: The server returned content type text/html, which is not supported.
Last week, one of my clients reported me the following error while downloading a branch in a new workspace:
C:\Source Control\ProjectName\03 Releases\2.0.3828\ProjectName.Business\Logic\Reservation\Calculations\CalculateDataR1BL.cs: The server returned content type text/html, which is not supported.
After investigation we came to this post and execute the proposed SQL script on the TFS database as shown in the attached screenshot.
This problem can happen if you upgraded from TFS 2008/2005. If the sql query returns more than 0 rows, you are indeed affected by the problem. Luckily a hot fix is available(KB Article Number : 2434700 ). Contact Microsoft Support to get a link to the download location.