Problems Installing Vault

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

Moderator: SourceGear

Post Reply
cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Problems Installing Vault

Post by cousinduck » Fri Jan 04, 2008 12:50 pm

Hi. I'm trying to install the latest version of Vault server on a 2003 server. The SQL 2005 server exists on another machine. When I try to install using my Windows authentication to SQL, I get the following message:

You must use an account that is common to both machines to execute the IIS process...

After the installation, I get an invalid use of null error message when I try to log onto the admin page.

Any help would be greatly appreciated.

Thanks,
Geoffrey

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Jan 04, 2008 1:02 pm

Installing Vault where SQL Server exists on another machine requires:

a) The use of SQL Server authentication

b) Windows Authentication where the Vault Server and SQL Server are on the same domain, and a Custom .NET Windows Account has been created and used during installation. This account is similar to the account used with a Shadow Folder configuration. See http://support.sourcegear.com/viewtopic.php?t=188 for additional information.
Jeff Clausius
SourceGear

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Unfortunately

Post by cousinduck » Fri Jan 04, 2008 1:05 pm

I have ruled out that it is a SQL problem. I tried to install with a local instance on SQL Server and still received the same error.

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

here is the full text of the error

Post by cousinduck » Fri Jan 04, 2008 1:09 pm

Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

Value cannot be null.
Parameter name: url
Description: 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.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: url

Source Error:

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.

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: url]
System.Xml.XmlTextReaderImpl..ctor(String url, XmlNameTable nt) +1925831
System.Xml.XmlTextReader..ctor(String url) +48
VaultServiceAPILib.VaultConfigReader.GetConfigSetting(String strSection, Boolean bEncrypted) +328
VaultServiceAPILib.VaultServiceAPISystem.GetApplicationSettingInt(String strResource, Boolean bEncrypted, Int32 nDefault, Boolean bCheckRange, Int32 nMin, Int32 nMax) +138
VaultServiceAPILib.VaultTreeManager.GetServerCacheSizeSetting(UInt64 nSystemMemKB) +87
VaultServiceAPILib.VaultTreeManager..ctor(UInt64 nSystemMemKB) +114
VaultServiceAPILib.VaultTreeManager.CreateVaultTreeManager(UInt64 nSystemMemKB) +77
VaultService.Global.Application_Start(Object sender, EventArgs e) +2471




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Jan 04, 2008 1:29 pm

Is there anything in the Vault Server Log?
Jeff Clausius
SourceGear

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Nothing I can find

Post by cousinduck » Fri Jan 04, 2008 1:31 pm

The folder: C:\WINNT\Temp\sgvault is empty. From what I have read, that is the place I should find the log.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Jan 04, 2008 3:38 pm

Something does not look like it installed correctly.

Can you try this:

Open a browser on the Vault server itself. Browse to http://localhost/vaultservice/vaultservice.asmx.

What do you see on that page?
Jeff Clausius
SourceGear

cousinduck
Posts: 10
Joined: Fri Jan 04, 2008 12:46 pm

Thanks

Post by cousinduck » Mon Jan 07, 2008 8:30 am

It was a problem with my IIS setting. By going to that page, I was able to see more information that helped me find out what was wrong (an invalid home directory).

Thanks for your help.

Geoffrey

Post Reply