TF400018: The local version table for the local workspace

痞子三分冷 提交于 2019-12-03 19:49:53

问题


TF400018: The local version table for the local workspace WEBSERVER; 
(My name was here) could not be opened. Access is denied

I keep getting the error above as soon as I open Visual Studio. I cannot access any of my projects. I am the administrator on TFS and I can also access TFS via the web client so I don't see how it could be an access problem. Has anyone gotten this before? I have seen similar errors posted but not the same one.


回答1:


I fixed this by renaming the $tf hidden folder in our working directory




回答2:


I had pending changes, so to play it safe, here's what I did;

  • back up your source directory. Since you can't connect to TFS, you can't shelve or similar, so make sure you've got a copy before trying anything.
  • rename $tf to, say __$tf. After this, TFS can't track the differences between your local disk and remote
  • get latest source code (I used tf.exe for this). All your pending changes now show up as merge conflicts.
  • open visual studio, and in "Pending Changes", choose "Actions | Resolve Conflicts (21)"
  • In the Resolve Conflicts window, choose 'Keep Local File Contents' for every file. You can ctrl+a to select all and then choose 'Keep Local File Contents' to do them all in a single shot.
  • If you've added any files, you'll need to add them back to source control - right-click in Solution Explorer and "Add file to source control"
  • When you check in, be careful of any changes colleagues might have made to the file you're editing.



回答3:


I fixed the issues by deleting/ unbinding all workspaces in my TFS. after that i was able to reopen my projects without errors. I rebound them back in the change source control menu.



来源:https://stackoverflow.com/questions/19733966/tf400018-the-local-version-table-for-the-local-workspace

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!