Connecting to Foundation Server across domains

So I have Foundation Server installed on a machine in our lab environment and I am trying to connect to it from a VPC install on my laptop.  The situation is that the Lab is on its own domain (lab.org) and the laptop I am connecting from is on the company domain. I have a user set up in the lab and added to administrators in TFS.  Yesterday I was able to connect from VSTS on the VPC by typing in the ip adress of the TFS box.  It challenged me for credentials and after I entered the lab user name and password, it connected just fine and worked as expected.  Today when I try to connect to tthe TFS it says it can not connect for various reasons including permissions.  It is not challenging me for user credentials.

I remoted into the TFS box as the user I was using and I am able to work with VSTS on that box just fine so I know that TFS is up and running.

I am thinking that it is using my user creds from the company domain and trying to log into the lab domain.  I can not get it back to a state where I can enter the username/password again.  I have deleted the server from the TFS connections but even after I add it back it does not challenge just errors out.

Ideas

Thanks!

Marc


Answer this question

Connecting to Foundation Server across domains

  • MatthewVincent

    Thanks Dave!  I will try those suggestions and keep and eye out for your blog entery for further info!
  • vcspec

    Hi Marc,

    I've had to fight through this as well.  We have it running pretty reliably through trust relationships, but I'm going to assume that's not an option.  I also assume you're using Beta 2.  I as going to blog on this but haven't found time yet, so...

    Here are my hints: 

    (1) Add the server to your hosts file.  I have had weirds problems connecting through IP and also using a fully qualified domain name.

    (2) Change the autoload flag to "No" before starting VS each time.  This should reenable the prompt for credentials in the lab domain.  You may want to automate this to copy a stock TeamExplorer.config over the live one before launching DEVENV.  For reference, the file is in:

    C:\Documents and Settings\[YOUR ACCOUNT]\Application Data\Microsoft\VisualStudio\8.0\Portfolio Explorer\TeamExplorer.config

    Hope this helps!
    -Dave


  • Connecting to Foundation Server across domains