Eclipse plugin - TFS (Team Explorer Everywhere) not connecting to TFS Repository

↘锁芯ラ 提交于 2019-12-12 18:07:33

问题


I'm running OSX 10.9 Maverick, following a restart I began to see the following message:

"An internal error occurred during: "Refreshing TFS Repository information for https://yourwebsite.visualstudio.com/DefaultCollection/". The character ' ' is not permitted in server paths."

I've tried removing all traces of Eclipse & Team Explorer Everywhere and re-installing it as a clean-version but the error continues.

Here's a list of files/directories I removed..

  1. Users/My-Mac/Library/Application Support/Microsoft/Team Foundation/
  2. Users/My-Mac/.eclipse
  3. Users/My-Mac/Preferences/org.eclipse.platform.ide.plist
  4. Users/My-Mac/Documents/Workspace/
  5. Users/My-Mac/Library/Caches/org.eclipse.platform.ide/
  6. Users/My-Mac/Library/Saved Application State/org.eclipse.platform.ide.savedState
  7. Applications/Eclipse

LOG: Pastebin of log - http://pastebin.com/XSukZRb2


回答1:


The error was actually with the machines name!

'My-Mac' contains an hyphin, which seems to cause issues when using TEE. I updated my machine name to MyMac (Preferences -> Sharing -> Update 'Computer Name'). Once the machine name was updated to MyMac, I removed the old Eclipse workspace and added a new one.

TFS loaded correctly this time, no more character issue.




回答2:


I deeply suspect it is another symptom of the TFS/.NET MAX_PATH problem. We have some very long paths in our enlistment and we keep our enlistment roots limited to 12 characters to avoid exceeding the limit. On this Mac, I enlisted to the default eclipse workspace path, like /Users/apple.dev/Documents/workpspace/abcdefgh. When syncing I hit the error. Tried multiple times with the same result. When I mapped to /abcdefgh. the problem went away.

Alex, for your case, it's entirely possible that removing the '-' in your machine name changed the length of a path string and put you under the limit. Hopes this helps you.

PS: Visual Studio / Team Services folks, I'm ex-Microsoft/DevDiv. Feel free to contact me if you have questions or want to try a private drop.



来源:https://stackoverflow.com/questions/25000567/eclipse-plugin-tfs-team-explorer-everywhere-not-connecting-to-tfs-repository

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