Cannot connect to database
Moderator: SourceGear
Cannot connect to database
Hello,
I just installed the 3.1.1 server and cannot connect to it lccally from the client. I'm running on Windows 2003 x64 with VS2005 beta2 and SQL Server 2005x64 april ctp. The install went perfectly without error, the database looks good. Any ideas here? I choose "network service" for authentication. Note, I only have 2.0 beta2 framework installed.
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
I just installed the 3.1.1 server and cannot connect to it lccally from the client. I'm running on Windows 2003 x64 with VS2005 beta2 and SQL Server 2005x64 april ctp. The install went perfectly without error, the database looks good. Any ideas here? I choose "network service" for authentication. Note, I only have 2.0 beta2 framework installed.
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
Is this an upgrade or a new installation? Did you make any changes to the Vault web.config file after installation?
We'd like to see your installation log from your user's temp directory and the Vault server log file Email them to linda at sourcegear.com.
We'd like to see your installation log from your user's temp directory and the Vault server log file Email them to linda at sourcegear.com.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Vault couldn't decrypt the sgvaultuser password because the Cryptokey info in the registry was in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\VaultServer
rather than the expected location:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
The 64-bit Windows OS uses the Wow6432Node key to present a separate view of HKEY_LOCAL_MACHINE\SOFTWARE for 32-bit applications that run on a 64-bit version of Windows. When a 32-bit application queries a value under the HKEY_LOCAL_MACHINE\SOFTWARE\<company>\<product> subkey, the application reads from the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<company>\<product> subkey. A "registry reflector" copies certain values between the 32-bit and 64-bit registry views (e.g., mainly for COM registration) and resolves any conflicts using a last-writer-wins approach.
Since we haven't tested Vault in this type of scenario, Vault won't be fully supported on 64-bit Windows until a later release.
rather than the expected location:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Server
The 64-bit Windows OS uses the Wow6432Node key to present a separate view of HKEY_LOCAL_MACHINE\SOFTWARE for 32-bit applications that run on a 64-bit version of Windows. When a 32-bit application queries a value under the HKEY_LOCAL_MACHINE\SOFTWARE\<company>\<product> subkey, the application reads from the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\<company>\<product> subkey. A "registry reflector" copies certain values between the 32-bit and 64-bit registry views (e.g., mainly for COM registration) and resolves any conflicts using a last-writer-wins approach.
Since we haven't tested Vault in this type of scenario, Vault won't be fully supported on 64-bit Windows until a later release.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager