Cause:
An error occurred when using TFs in the morning.CodeIs:
Tf31001: team foundation can not retrieve the list of team projects from Team Foundation server ..........................
I think it turns out that TFs server C has used up all the disk space, and I want to release a little space, so I ran clear, a very Nb-heavy garbage disposal tool. bat. In less than a minute, I spent a few GB of space on it ....., I thought everything was done. Let's look back, it's a big mistake. The web on IIS on the serverProgramNone of them are normal and cannot be browsed normally. The same is true for TFs. They are all on the same server. I have checked several TFs asmx services with the tf10216 error, the TFS service is unavailable. Contact the TFS administrator ..........
Now that there is an error, I immediately thought of viewing the log, start-> Run-> eventvwr. indeed, there are a lot of TFS application error events, and you will know when you go in. Many of them indicate that you have no access permission to the temp directory of windows.
Solution:
Set the access permission for System Disk \ windows \ Temp and set the tfsadmin account to full control. Of course, the ASPNET account also requires some permissions. Otherwise, web programs on IIS will be inaccessible.
Cause:
It should be a good thing for clear. BAT to do. Change the access permission of the temp directory.
Summary:
If you encounter problems like me, you can try this method without any help. The most important thing is to learn to think independently. This is the way to solve the problem. Remember this!