FailDBConn Error When Logging in to Vault

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

Moderator: SourceGear

Post Reply
pablogosse
Posts: 2
Joined: Mon Dec 21, 2009 1:11 pm

FailDBConn Error When Logging in to Vault

Post by pablogosse » Mon Dec 21, 2009 1:25 pm

Hello. We are installing Vault on a new server and I am getting the FailDBConn error when attempting to login.

The Vault website and the Vault database are on two separate servers. NETWORK SERVICE is the IIS Process User selected.

There were no errors encountered during the installation process, and the database has been created successfully. When prompted to specify a domain or SQL Server account I selectd domain account, so it used my credentials and created the db without error.

When I look at the log files on the server, this is the error info:

----12/21/2009 11:12:16 AM xxxxx--xxxxxxx-xxxxxx-x-xxx-xx.xxxx.ca(xxx.xxx.xxx.xx)--SSL Disabled Vault Failed to establish a connection to the database.
----12/21/2009 11:12:16 AM xxxxx--xxxxxxx-xxxxxx-x-xxx-xx.xxxx.ca(xxx.xxx.xxx.xx)--SSL Disabled System.Data.SqlClient.SqlException: Login failed for user 'ADM\PG-ADM-IIS-02$'.

Can someone provide any insight into why this is happening?

Thanks,

Pablo

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

Re: FailDBConn Error When Logging in to Vault

Post by lbauer » Mon Dec 21, 2009 2:07 pm

It sounds like you are using Windows authentication for SQL Server. If SQL Server is on a different machine, Network Service, which is a local account on your Vault Server machine, doesn't have access over the network. I'd suggest uninstalling, leaving the databases, then reinstalling. Use a Domain account for the IIS Process Model, or, use SQL Server authentication for the SQL Server setup portion of the installation.

Let me know if this does not resolve the problem.
Linda Bauer
SourceGear
Technical Support Manager

pablogosse
Posts: 2
Joined: Mon Dec 21, 2009 1:11 pm

Re: FailDBConn Error When Logging in to Vault

Post by pablogosse » Mon Dec 21, 2009 2:17 pm

Hi Linda. While waiting for the post to be approved I realized just this. Uninstalled and reinstalled with a domain account and the install works.

Thanks,
Pablo

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

Re: FailDBConn Error When Logging in to Vault

Post by lbauer » Mon Dec 21, 2009 3:03 pm

Thanks for the update.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply