Install problem, v 1.2.2

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

Moderator: SourceGear

Post Reply
Traveler
Posts: 16
Joined: Fri Feb 20, 2004 12:04 pm

Install problem, v 1.2.2

Post by Traveler » Fri Feb 20, 2004 12:09 pm

Hello,
I've installed Vault in Win2000, using all the default settings. When I try to open the admin tool, I get this in a pop-up:
-------------------------------------------------------
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>Value cannot be null.
Parameter name: path1</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">
-----------------------------------------------
I can point a browser to http://<MyComputer>/VaultService, and connect.
Any ideas on what is going wrong?
Thanks.

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

Post by lbauer » Fri Feb 20, 2004 12:47 pm

It appears the server's log file setting cannot be located from the Vault server. This may be caused by a number of reasons. Within the Vault server's virtual directory, usually found at
<DRIVE>:\inetpub\wwwroot\vaultservice, you will find two files - web.config and vault.config.

1) The web.config file contains an entry for the vault.config file location - look for the configpath element in this file. What is the value for the configpath element? Can you verify that path is valid. Can you also verify the asp.net process account has read/write access to that file.

2) Assuming things are configured correctly in step 1, open up vault.config in an editor. There will be an element for the logfilepath. Can you verify the path to the log file location. Can you also verify the asp.net process account has read access to that file.
Last edited by lbauer on Fri Feb 20, 2004 3:25 pm, edited 1 time in total.
Linda Bauer
SourceGear
Technical Support Manager

Traveler
Posts: 16
Joined: Fri Feb 20, 2004 12:04 pm

Post by Traveler » Fri Feb 20, 2004 3:01 pm

Thanks for the reply.
The configpath element is "c:\VaultBuild\740\Service\vault.config"
That dir does not exist; shouldn't the installer have created it?

There is a vault.config in C:\INetPub\wwwroot\VaultService\. I changed the entry in web.config to point to it. However, there is no logfilepath in the vault.config.

When I try to run the admin tool, I get this error now:
------------------------------------------------------------------------------
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>Error in the application.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/VaultService' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Error in the application.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>VaultLib.VaultDbException: Error in the application.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

[VaultDbException: Error in the application.]
VaultServiceAPILib.VaultAdminServiceAPI.GetSerialNums(String& sid, VaultStringColl& SNs, String& Key) +128
VaultServiceAPILib.VaultServiceAPISystem.RefreshLicenses(HttpApplicationState theApp) +83
VaultService.Global.Session_Start(Object sender, EventArgs e) +582
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +525
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +693
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +66
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173
</pre></code>
</td>
</tr>
</table>
<br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
</font>
</body>
</html>
<!--
[VaultDbException]: Error in the application.
at VaultServiceAPILib.VaultAdminServiceAPI.GetSerialNums(String& sid, VaultStringColl& SNs, String& Key)
at VaultServiceAPILib.VaultServiceAPISystem.RefreshLicenses(HttpApplicationState theApp)
at VaultService.Global.Session_Start(Object sender, EventArgs e)
at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
--.
------------------------------------------------------------------------------

Thanks again for the help.

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

Post by lbauer » Fri Feb 20, 2004 5:52 pm

The errors you report indicate Vault did not install properly. I would suggest uninstalling and then reinstalling. You might want to review the Vault Installation Guide to get an understanding of what Vault needs for a successful install:

http://www.sourcegear.com/vault/support ... torial.asp

This applies to Vault 2.0, but the principles are the same.

If there's still a problem after the re-install, email me a copy of the vault_install.log file. It should be in your user's temp directory.

Is there a reason you're not installing Vault 2.0? The 2.0 installer provides much better information if there are any errors. It's a free upgrade if you already have Vault 1.x.
Linda Bauer
SourceGear
Technical Support Manager

Traveler
Posts: 16
Joined: Fri Feb 20, 2004 12:04 pm

Post by Traveler » Fri Feb 20, 2004 6:28 pm

--- UPDATE ---
I un-installed and re-installed 2.0, and it seems to be working...
Now, to create a project and add some files....
--------------------

Hello, Linda,
I do have a Vault license (single user); after discovering that Vault 2.0 is a free upgrade, I downloaded it and tried to install.
Everything appeared to work. When I run the admin tool, though, I get this (Logging in as 'Admin', using the pwd set during install, server is my computer's name):
"The Vault server could not establish a connection to the database. ...(FailDBConn)"

Looking at the server's log -- C:\WINNT\Temp\sgvault\sgvault.log -- I found this:
----------------------------------------------------------------------------
----2/20/2004 7:16:59 PM sgvaultsystem--()--
System Started
Version 2.0.0.2120
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINNT\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINNT\Temp
----2/20/2004 7:17:00 PM sgvaultsystem--()--
Vault Failed to establish a connection to the database.
----2/20/2004 7:17:00 PM sgvaultsystem--()--
The session information was not removed from the database. Please check sgvault.dbo.tblsessions within SQL Server. There may be orphaned sessions stored within the database. Error: FailDBConn
--------------------------------------------------------------------------------------

How do I clean up 'orphaned sessions', and is that what is preventing me from getting Vault to run?

Thanks for your help. This is a surprisingly frustrating installation....

Post Reply