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