TFS Server Mappings Issue
Answered
I am using TFS 2010 with AppCode for iOS development. I intermittently get the following error trying to check files in:
Error updating changes: Team Foundation Server mappings not found for '/Users/bhp/Documents/...'
If I go to VCS -> TFS -> Edit Configuration I am able to see my TFS server listed and my workspace. I can highlight the workspace, click edit then inspect the server and local paths. Everything appears to be in order.
I was previously able to resolve this issue by deleting the workspace and re-creating, but that means I have to reimplement the code changes I was working on.
Any help greatly appreciated.
thanks,
-Brian
Please sign in to leave a comment.
Brian, please follow http://devnet.jetbrains.net/thread/434976?tstart=0 for the related discussion.
Does it help?
Anton,
I followed that thread and was not able to resolve the issue. This is an existing TFS project that I am connecting to. I also validated that there is not a proxy in place.
When I create a new mapping, I am able to download source, check out, and check in. I have created workspaces both manually and automatically.
At some point, something seems to change and the connection is lost. It seems that when I try to connect to TFS though our SSL VPN (which I have never gotten to work) I get the error. The only way I have been able to recover is to delete the workspace and recreate it.
Thanks,
-Brian
Hi Brian,
Let me please double-check.
Do you mean it works until you enable VPN? What if you then disconnect from VPN and try again (without recreating the workspace)?
Thanks,
Kirill
Correct. When I am on a wired connection on the local network I can create the workspace mapping and everything is ok.
If I disconnect the local network and connect to our VPN I get the 'server mappings not found' error. If I reconnect to the local network I continue to get the error. Restarting AppCode and restarting the machine do not resolve the issue. Once I start getting the error the only way I have found to resolve it is to recreate the workspace.
thanks,
-Brian
Brian, may I ask you to turn on verbose TFS logging so I can look at the messages?
1. Please replace your AppCode.app/bin/log.xml with the file attached at different thread and restart AppCode.
2. Recreate the workspace and check things work, afterwards switch to VPN, check things don't work, then connect directly and check it does not work either.
3. Take a log file idea.log (Help -> Reveal logs) and attach it here, or send it to me kirill (dot) safonov (at) jetbrains (dot) com if you'd like to keep your files paths private.
Thanks!
Kirill
Hi everyone,
is there any solution to this problem? I'm having the same issue, that the TFS plugin works in the local network, but doesn't through VPN. Here's the exception I'll get:
I'm using:
Any help is much appreciated!
I've created separate issue for your case. Please follow the comments there.
To solve this issue, I just reload the workspaces in the TFS manager...
In Jetbrain menu, Go to VCS > TFS > Edit configuration
Select your server and clic "Reload workspaces" to make yours appears in the list
Now, your workspace is mapped.
Hope it will be helpfull