Visual Studio 2005 cannot connect to Vault 5.04

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

Moderator: SourceGear

Post Reply
McFloyd
Posts: 9
Joined: Fri Sep 24, 2010 3:02 pm

Visual Studio 2005 cannot connect to Vault 5.04

Post by McFloyd » Thu Mar 17, 2011 10:30 am

Hi I have a strange issue. My Win 7, Visual Studio 2005 PC was connecting to the Vault server fine until recently when it started issuing a "Unable to connect to http://<serverIP>/VaultService. No server was found at the specified URL. ... HTTP status 503: Service Unavailable.

Strangely, my Vault client connects fine. Not sure if I modified client settings in any way or what could be the
problem.

I searched the forums for similar issues, but I coudn't find any.

Please help!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2005 cannot connect to Vault 5.04

Post by lbauer » Thu Mar 17, 2011 12:39 pm

The first thing I would suggest is to unbind and rebind the project. Depending on what integration client you're using this would be in VS 2005 under File->Source Control->Change Source Control (Classic Client) or File->Vault Source Control->Change Vault Bindings ((Enhanced Client).
Linda Bauer
SourceGear
Technical Support Manager

McFloyd
Posts: 9
Joined: Fri Sep 24, 2010 3:02 pm

Re: Visual Studio 2005 cannot connect to Vault 5.04

Post by McFloyd » Fri Mar 18, 2011 1:13 pm

Tried that.

When I try with the Classic client, the bind button doesn't do anything. When I use the enhanced Client, I choose "Open from Vault..." got the same message (503: Service Unavailable). When I choose, change bindings, click Bind... 503: Service Unavailable.

The weird thing is that I try from another machine connected to the same network, I get the same issue. I thought it could be something with the server, but I logged into the Server's VM and I was able to call the service

http://<server ip>/VaultService and it works fine.

I'm puzzled about what could be the problem.

If you think of something I can do about this, please let me know.

Thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2005 cannot connect to Vault 5.04

Post by lbauer » Fri Mar 18, 2011 3:53 pm

Reproduce the problem, then send me copies of the Visual Studio and Vault Server logs. Let me know what user was experiencing the error and what time the error occurred so I know where to look for in the logs.

If you are using the Visual Studio Enhanced Client with VS 2005/2008, you can enable logging in VS under Tools->Options->Source Control->Integration Options. The log will be in your user's temp directory.

The Vault Server log called sgvault.log and is in %windir%\temp\sgvault on the server machine.
Send the logs zipped up to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

McFloyd
Posts: 9
Joined: Fri Sep 24, 2010 3:02 pm

Re: Visual Studio 2005 cannot connect to Vault 5.04

Post by McFloyd » Mon Mar 21, 2011 8:09 am

Email sent. Please confirm.

Thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Visual Studio 2005 cannot connect to Vault 5.04

Post by lbauer » Mon Mar 21, 2011 9:38 am

Got the logs and responded via email. It looks like the server is refusing the connection.

HS: 222640
Linda Bauer
SourceGear
Technical Support Manager

Post Reply