Can't Connect Through Visual Studio 2005

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

Moderator: SourceGear

Post Reply
rbelitz
Posts: 3
Joined: Fri Mar 13, 2009 1:44 pm

Can't Connect Through Visual Studio 2005

Post by rbelitz » Fri Mar 13, 2009 1:52 pm

The Vualt Login says - Connecting to http://localhost/VaultService

I don't have the Vault Service sitting on my local machine...I need it to say "Connecting to http://IPAddress/VaultService"

As my Vault Server is on another machine.

Please Help. I'm using the newest version of Vault.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Can't Connect Through Visual Studio 2005

Post by Beth » Fri Mar 13, 2009 2:41 pm

What version of Vault are you using?
In VS Tools - Options - Source Control, what client is set there?
Are you able to connect using the Vault GUI client?
Did you by any chance copy this project from somewhere?
Beth Kieler
SourceGear Technical Support

rbelitz
Posts: 3
Joined: Fri Mar 13, 2009 1:44 pm

Re: Can't Connect Through Visual Studio 2005

Post by rbelitz » Sat Mar 14, 2009 6:35 am

I'm using Vault Client Version is 4.1.4 (18402). The Vault Server is the same version.

Yes I can connect through the Vault Client as I'm able to enter the Vault Server when I try to connect.

The area where I have problems is in Visual Studio 2005 when I try to connect to the project I get the Connecting to http://localhost/VaultService instead of the IP Address of where the Vault Server is located. (Take a look at the screen shot to see what I mean)

Please help, this is very frustrating as I do not have the vault service located on my localhost, and why is there no area to input the server address like when trying to connect throught the actual vault client program??

Thanks.
Attachments
VS2005 Vault Login.JPG
Screenshot of trying to connect through Visual Studio 2005
VS2005 Vault Login.JPG (21.36 KiB) Viewed 3102 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Can't Connect Through Visual Studio 2005

Post by Beth » Sat Mar 14, 2009 2:55 pm

How are you opening the project? Are you double-clicking a .sln on disk? If so, don't use that as the first time you are opening a project.

What you most likely need to do is to go to File - Source Control - Open from Source Control or go to File - Vault Source Control - Open from Vault. Which one you see will depend on if it was bound to the Vault Classic Client or the Vault Enhanced Client. One one of those opens will show up for each.
Beth Kieler
SourceGear Technical Support

rbelitz
Posts: 3
Joined: Fri Mar 13, 2009 1:44 pm

Re: Can't Connect Through Visual Studio 2005

Post by rbelitz » Sun Mar 15, 2009 6:24 am

Hi,

I figured it out, thanks to you. The setting is in the SLN file for the solution under GlobalSection. The VaultHost was set to http://localhost/VaultService so I just changed the localhost to the IP Address of the server and it worked like a charm.

Thanks again for your help.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Can't Connect Through Visual Studio 2005

Post by Beth » Sun Mar 15, 2009 8:43 am

Thanks for the update. I'm happy to hear you got it working.
Beth Kieler
SourceGear Technical Support

Post Reply