Mobile Project Development notes (TFS force unlock check-out lock)

Source: Internet
Author: User

Today, I am very depressed. It took me a long time to figure out problems with the VSTS server. However, there are a lot of gains, and I have some knowledge about TFS.
 
The process was like this: I just walked into the Sichuan Mobile Company in the morning and started the computer to prepare for a new job. I just started the task and the system was waiting. Suddenly a sound card crashed and the computer went off. Only when the power is down.
 
After searching, we found that our office was tripped. But soon. Electricity is coming. (It indicates that the internal staff of the mobile service should be promptly reflected)
 
However, when I hit my computer again, the system prompts that the memory address ***** cannot be blank. I tried to restart the machine several times and the problem could not be solved. Finally, I only need to download the hard disk to another computer. I arranged my work today. When I opened the VSTS, I created a new workspace and downloaded the latest files. This reminds me that some files on my previous computer do not have check in. When I used my previous account to log on to the VSTS to check out the file, I did prompt that the file has been checked out by another user, I checked the record and found that I checked it out. I changed my computer and used the same account to ensure I could not Undo it. I was prompted to say that another user *** (machine name)/Charles. What should I do? Then the computer is basically impossible to recover. How to solve the problem. I think of our company's IT Department, which is responsible for system configuration and management. It seems that you have to seek help from the company through Msn.
 
Finally, I found a solution by phone for about 30 minutes. I learned the following commands:
 
 
 
Tf workspaces/owner: logon VSTS username/computer: */server: server name/format: detailed
 
The preceding command displays the workspace information of a user on the server.
 
Tf.exe undo/workspace: WCMIS020; CharlesChen/server: http: // 10.1.1.1: 8080/
$/PMS/03_Code/01_SourceCode/ProjectManagementSolution/DataInit /*
 
The above command can solve the Undo problem after the lock. Here is the entire Undo file, which is very good. It can be done with a single command.
 
Pay special attention to permission issues during execution. When I remotely connect to the server and use the Administrator, I am prompted that the CharlesChen user on the VSTS cannot be found. You need to use the CharlesChen Remote Desktop to log on. I can't explain why. I did not specifically study the VSTS permission issue, but I still solved the problem (using the VSTS CharlesChen user to log on can successfully execute the above command ). I hope to give some tips to my friends who have encountered the same problem.
 
 
Author Charles Chen

Related Article

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.