Connects appear for each project.....

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Connects appear for each project.....

Post by Carlos » Tue Mar 08, 2005 11:48 pm

The connect dialog appears when openning solution. This happens only when I am connected from outside my office. The proyect was opened before connected diretly and worked fine. Now for each project on the solution, a liago of Connect To Server appears, and after putting the user and password the next project appears. So for every project in the solution I get a dialog.....!

I am using version 3.0.4


Thanks in advance.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Mar 09, 2005 8:52 am

The connection string is sensitive to any changes in the connection URL - are you using a fully qualified connection string outside your domain (machine.domain.com) and a shortcut inside (machine)?

You might check the MSSCCPRJ.SCC files in the solution and project folders and see whether the connection string is what you expect it to be. If it is changing them slightly, you should only have to do it once...

Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Post by Carlos » Wed Mar 09, 2005 1:11 pm

This is what appears in my soluction ms.....scc file

///Starts Here
SCC = This is a source code control file

[PlanMed.sln]
SCC_Aux_Path = http://netserver/VaultService|:3
SCC_Project_Name = $/PlanMed.root/PlanMed

//Ends

Inside mi office, I use NETSERVER to connect, it is my server name. outside my office I use my IP Number, which is different form netserver, Netserver resolves for a local IP( 192.168.0.2) the IP I use at other location is a public IP. I have a firewall install, and it has port 80 forwarded to Netserver's IP.

Thanks.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Mar 09, 2005 1:15 pm

If you use an IP address when connecting from home, then Vault thinks it is a different server than Netserver, so it requires you to login to all the projects to change that setting.

You might want to standardize on the IP address to connect to the project if you are going to be switching back and forth between work and home a lot.

Carlos
Posts: 13
Joined: Tue Mar 08, 2005 11:40 pm

Post by Carlos » Wed Mar 09, 2005 1:20 pm

Ok. Thanks. I now understand why the dialog appears for each project. So I have to have an standard when connecting to my server? or is there other way?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Mar 09, 2005 1:26 pm

The only other way would be to manually edit the MSSCCPRJ.SCC files, which isn't a better solution...

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Mar 09, 2005 1:39 pm

One other thing you could try...

I'm not sure the IP address is the same internally / externally, but you could modify your %windir%\system32\drivers\etc\hosts file to contain a common name which always maps to the Vault server.
Jeff Clausius
SourceGear

mlippert
Posts: 252
Joined: Wed Oct 06, 2004 10:49 am
Location: Cambridge, MA

Post by mlippert » Wed Mar 09, 2005 4:16 pm

Carlos,
Just to clarify, are you using a different computer in each location, or the same computer (a laptop) in 2 different locations?

Also, do you have the MSSCCPRJ.SCC files checked in to Vault?

If you're using 2 different computers then Jeff's suggestion would work really well for you.

If you're using a laptop and the MSSCCPRJ.SCC files are checked in, then I don't see any good solution, although editing the HOSTS file might still be the easiest. You'd have to edit it every time you change location though.

Mike

Post Reply