Method 1:
The Command Prompt for enabling vs2008 is:
View the user's workspace:
Input: TF workspaces/owner: owner or */Server: server name or IP address
Ex: TF workspaces/owner: stcct (owner)/Server: 203.156.1.100 (IP address)
Delete the user's unmigrated items:
Enter: TF Undo/workspace: Workspace name; Owner/Server: server name or IP address locked file path on the TFS Server
Ex: TF Undo/workspace: MICRO-18S9A: stcct/Server: 203.156.1.100 $ \ file3 \ web3.0 "Dev \ admin \ course \ zw0033 \
You can delete unmigrated items.
Method 2:
Force delete database:
Open the TFS database:
Query the ID of the workspace by the workspace name; select workspaceid from tbl_workspace where workspacename like'm %'
Query unmigrated items: Select * From tbl_pendingchange where workspaceid = 'workspaceid'
Delete unmigrated items. Check whether data is locked in the tbl_lock table. If yes, delete them together.