TFS tf10216 code error caused by executing clear. bat

Source: Internet
Author: User

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!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.