Changing URL in Visual Studio add-in

If you are having a problem using Vault, post a message here.
Post Reply
owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Changing URL in Visual Studio add-in

Post by owainajones » Tue Nov 26, 2013 12:16 pm

We upgraded our server to 7.1.0.32028 and I upgraded my client installation. However as a part of the upgrade we had to switch servers because we were using a Windows Server 2003 OS, the transfer went fine, but now in Visual Studio I cannot connect to my projects because it does not allow me to change the server URL for the Vault installation, how can I change this?

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

Re: Changing URL in Visual Studio add-in

Post by Beth » Tue Nov 26, 2013 1:44 pm

You will need to unbind and rebind your projects. Check out this forum post here, http://support.sourcegear.com/viewtopic ... 403#p68403, for instructions.

If you have any problems rebinding, just let me know.
Beth Kieler
SourceGear Technical Support

owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Re: Changing URL in Visual Studio add-in

Post by owainajones » Tue Nov 26, 2013 2:11 pm

Hi Beth,

Looking at that post it looks like it would be a lot less work to change the VaultHost entry in the .sln file. Everything else should be the same because the database was not rehosted or anything like that, just the Vault server. Do you know if that would work, i.e. changing VaultHost from <oldserver>/VaultService to <newserver>/VaultService

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

Re: Changing URL in Visual Studio add-in

Post by Beth » Tue Nov 26, 2013 3:05 pm

I think that will work. You might want to check your project files (.vbproj, .csproj, etc.) for paths as well.
Beth Kieler
SourceGear Technical Support

owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Re: Changing URL in Visual Studio add-in

Post by owainajones » Wed Nov 27, 2013 9:08 am

That seems to have worked, thanks for the help!

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

Re: Changing URL in Visual Studio add-in

Post by Beth » Wed Nov 27, 2013 9:29 am

You're welcome.

Did you only change the .sln?
Beth Kieler
SourceGear Technical Support

owainajones
Posts: 9
Joined: Thu May 16, 2013 1:42 pm

Re: Changing URL in Visual Studio add-in

Post by owainajones » Wed Nov 27, 2013 10:09 am

For a website project yes, but for another project no, I had to change project files too.

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

Re: Changing URL in Visual Studio add-in

Post by Beth » Wed Nov 27, 2013 10:28 am

Thanks
Beth Kieler
SourceGear Technical Support

Post Reply