Unable to connect to VaultService

If you are having a problem using Vault, post a message here.
Post Reply
charvan
Posts: 5
Joined: Tue Oct 23, 2012 11:23 am

Unable to connect to VaultService

Post by charvan » Tue Oct 23, 2012 11:55 am

I recently installed a single license Vault Pro on my workstation, but when I attempt to connect I get the following message:
Unable to connect to http://calvin/VaultService. No server was found at the specified URL. ... Web Exception: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:o="urn:schemas-microsoft-com:office:office" lang="en-us" dir="ltr">
<head><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Expires" content="0" /><meta name="ROBOTS" content="NOHTMLINDEX" /><title>

I have an instance of SharePoint installed on the same workstation, which it seems to be referencing.
The VaultService website appears in IIS.
I am using Windows 7 and .Net Framework 4.0

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

Re: Unable to connect to VaultService

Post by lbauer » Tue Oct 23, 2012 2:01 pm

Vault Server and Sharepoint don't co-exist without special configuration -- usually, installing to a different website.

See this KB article for details:

http://support.sourcegear.com/viewtopic.php?t=3147
Linda Bauer
SourceGear
Technical Support Manager

charvan
Posts: 5
Joined: Tue Oct 23, 2012 11:23 am

Re: Unable to connect to VaultService

Post by charvan » Thu Dec 06, 2012 11:04 am

I uninstalled Vault and setup a different website (instead of the default website) in IIS at C:\Websites\SourceControl, and have verified that the VaultService folder is under this directory, and is listed in IIS under the SourceControl website. The name of my server is "Calvin". I successfully installed Vault Professional again, but when I attempt to connect, I get the message -
Unable to connect to http://calvin/VaultService. No server was found at the specified URL.
Can you tell what to check or how to fix this? - Thanks!

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

Re: Unable to connect to VaultService

Post by lbauer » Thu Dec 06, 2012 11:15 am

Are you using a different port for the new website?

If so, the connection would include the port . For example, if the port was 88:

http://calvin:88/VaultService.

Can you connect using the IP address? Perhaps DNS is not resolving Calvin. Or you could try the FQDN:

http://calvin.mydomain.com/VaultService.
Linda Bauer
SourceGear
Technical Support Manager

charvan
Posts: 5
Joined: Tue Oct 23, 2012 11:23 am

Re: Unable to connect to VaultService

Post by charvan » Thu Dec 06, 2012 11:36 am

I've installed it on my own workstation. It appears that the port is still 80. I don't know how to find its IP address (I opened the site bindings and there was none assigned - if I selected one from the dropdown list, it failed to connect) and am not using a domain. Do you suggest I change the port # ?
Last edited by charvan on Thu Dec 06, 2012 1:14 pm, edited 1 time in total.

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

Re: Unable to connect to VaultService

Post by lbauer » Thu Dec 06, 2012 1:08 pm

If another website is using port 80, then you may need to change the port. Otherwise port 80 is fine.

Can you connect to http://localhost/vaultservice?
Linda Bauer
SourceGear
Technical Support Manager

charvan
Posts: 5
Joined: Tue Oct 23, 2012 11:23 am

Re: Unable to connect to VaultService

Post by charvan » Thu Dec 06, 2012 1:59 pm

I tried to connect to connect to http://localhost/vaultservice, but get the response

Cannot connect to the configuration database.

I also tried changing the port to 88 in the bindings but get the same response as earlier with no reference to the port # in the URL.

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

Re: Unable to connect to VaultService

Post by lbauer » Thu Dec 06, 2012 5:26 pm

Cannot connect to the configuration database.
That's a Sharepoint error, not a Vault error. There's still a configuration problem.

I'd suggest we schedule a remote assist session where I can take a closer look.

Email me at support at sourcegear.com, ATTN: Linda.

Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

charvan
Posts: 5
Joined: Tue Oct 23, 2012 11:23 am

Re: Unable to connect to VaultService

Post by charvan » Fri Dec 07, 2012 5:46 pm

Thanks to Linda, we discovered in IIS that SharePoint was pointing to port 80, so the solution was (having previously installed Vault to a different web location as above) to change the port for Vault to 88 BOTH in IIS AND in the login dialog (i.e. myserver:88).

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

Re: Unable to connect to VaultService

Post by lbauer » Mon Dec 10, 2012 8:38 am

Glad it's working for you now!
Linda Bauer
SourceGear
Technical Support Manager

Post Reply