Error when creating branch

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

Moderator: SourceGear

Post Reply
buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Error when creating branch

Post by buckey » Thu Oct 28, 2010 8:52 am

I am trying to create a branch. It gets to the end where it is attempting to commit the transaction, then throws this error:

[10/28/2010 10:34:26 AM] Preparing data to begin transaction
[10/28/2010 10:34:26 AM] Beginning transaction
[10/28/2010 10:34:31 AM] Branch $/webs/schools.connectionsAcademy.com/main
[10/28/2010 10:34:31 AM] Ending the transaction
10/28/2010 10:42:44 AM] Transaction failed
[10/28/2010 10:42:44 AM] An error occurred while trying to end a transaction.
[10/28/2010 10:42:44 AM] Transaction failed
[10/28/2010 10:42:44 AM] Item $/webs/schools.connectionsAcademy.com/main caused the transaction to fail: A database error has occured (FailDBReader)

Please advise.
Connections Academy Software Development Team

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error when creating branch

Post by Beth » Thu Oct 28, 2010 10:25 am

Can you look in your Vault Server Log found at %windir%\temp\sgvault\sgvault.log for a more detailed error and post it? I suspect a timeout, but the error should confirm that.

To change the SQL timeout, find the vault.config file on the server. It's typically under C:\inetpub\wwwroot\vaultservice. In there is a SQL timeout set for 360. Add another 0 to the end of that number and save the file. To get the file read again, you will need to recycle the Vault app pool. This will disconnect all your users for a minute, so it's best to have your users not uploading or downloading at that time. Open you IIS Manager, expand the Application Pools, right-click Vault AppPool and select Recycle.
Beth Kieler
SourceGear Technical Support

buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Re: Error when creating branch

Post by buckey » Fri Oct 29, 2010 6:21 am

Changing the timeout in the config did it. Thanks Beth!
Connections Academy Software Development Team

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Error when creating branch

Post by Beth » Fri Oct 29, 2010 8:06 am

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply