Hello,
I've posted this a few minutes ago, but i can't find my posting in the board. So here it is again...
During installation of vault I allway get an error when I try to connect to the vault web page. The error message is:
Login Failed: The Vault Server could not establish a connection to the database. Please check the server's log for detailed information. (FailDBConn)
For each login trial you'll find these lines in the vault log:
----01.12.2009 16:15:25 admin--fe80::68bc:b017:cb97:af20%10(fe80::68bc:b017:cb97:af20%10)--SSL Disabled Could not load connect string. There is probably an error with the encrypted password for the sgvaultuser database user. Contact technical support at http://support.sourcegear.com
----01.12.2009 16:15:25 admin--fe80::68bc:b017:cb97:af20%10(fe80::68bc:b017:cb97:af20%10)--SSL Disabled Vault Failed to establish a connection to the database.
(attached you'll find the complete log file)
System info:
Vault is installed on Win 2008 Server Standard with SP2 (X64)
The Win 2008 Server is running in a virtual maschine (VMWare 4.0 on ESX 3.5)
SQL-Server-2008-Enterprise (version 10.0.1600.22) is installed on a different server (Win 2008 Server Standard with SP2 X64, also running in a VM)
Vault created two new databases on the sql server: sgmaster, sgvault
and one new login: sgvaultuser (dbowner of sgmaster, sgvault)
Could you please tell me, how to solve the connection problem?
Thanks and regards
Uwe
Installation error
Moderator: SourceGear
-
- Posts: 2
- Joined: Tue Dec 01, 2009 9:25 am
Installation error
- Attachments
-
- sgvault.zip
- vault log
- (903 Bytes) Downloaded 160 times
Re: Installation error
What version of Vault are you installing?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 2
- Joined: Tue Dec 01, 2009 9:25 am
Re: Installation error
Version 4.1.4.18402 X64
Re: Installation error
The Vault 4.1.4 installer does not properly update registry keys on x64 servers. This has been fixed in Vault 5.0.
Here's a workaround:
I'd suggest starting over. Uninstall Vault server, drop the database, then restore a backup of the database, then delete the sgvaultuser from the sgvault database. Next, on the Vault server VM, delete these registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit (or Vault server )
Make sure the Vault Service directory is empty.
Then reinstall with the Vault 64-bit Server installer.
Here are the next steps:
Using the info in CryptoKey and CryptoInitVector keys and their values from HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server, manually create the same CryptoKey and CryptoInitVector keys and copy and paste the values to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit
Leave the CryptoKey and CryptoInitVector keys in HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
Rename HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server (delete the "64-bit")
Restart IIS, Close the browser you tried to login with, and when IIS has restarted, reopen it and try to login again.
Here's a workaround:
I'd suggest starting over. Uninstall Vault server, drop the database, then restore a backup of the database, then delete the sgvaultuser from the sgvault database. Next, on the Vault server VM, delete these registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit (or Vault server )
Make sure the Vault Service directory is empty.
Then reinstall with the Vault 64-bit Server installer.
Here are the next steps:
Using the info in CryptoKey and CryptoInitVector keys and their values from HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server, manually create the same CryptoKey and CryptoInitVector keys and copy and paste the values to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit
Leave the CryptoKey and CryptoInitVector keys in HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
Rename HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server 64-bit to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Server (delete the "64-bit")
Restart IIS, Close the browser you tried to login with, and when IIS has restarted, reopen it and try to login again.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager