1. I don't know what's going on. Suddenly the server's TFS cannot be connected and an error is reported.
TF31001: Cannot connect to Team Foundation Server at cvalor-1.The
Server returned the following error: please contact the Administrator. An error occurred while contacting the server.
Technical Information (for administrators): http code 500: Internal Server.
Finally, find the cause in the IIS Application Pool corresponding to TFS. In the Application Pool corresponding to IIS, TFS is "Microsoft Team Foundation Server Application Pool", right-click => advanced settings, and the following interface is displayed:
If the value of Process Model = is changed from LocalService to NetworkService.
2. the above problem is solved, but TFS cannot obtain the source code (the most important thing is that it cannot obtain the source code of the new checked-in program). The error message is "text/html of the content type returned by the server, not Supported ". Finally, find an answer on the msdn official website.
Step 1: stop iis. Run the cmd command: iisreset/STOP to stop iis. Run the command in Windows 7 as an administrator.
Step 2: Clear the TFS cache. The directory of the folder is C: \ Program Files \ Microsoft Team Foundation Server 2010 \ Application Tier \ Web Services \ _ tfs_data, where "C: \ Program Files \ Microsoft Team Foundation Server 2010 \ "is the installation directory of TFS.
Step 3: start iis and run the cmd command: iisreset/START.
Solution: the original address is:
Http://social.msdn.microsoft.com/Forums/en-AU/tfsversioncontrol/thread/84e23ebd-e2bb-44cb-b475-acdaac371372