Unable to branch

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

Moderator: SourceGear

Post Reply
srsimons
Posts: 7
Joined: Thu Jun 22, 2006 6:52 am

Unable to branch

Post by srsimons » Fri May 11, 2007 12:01 pm

When I try to branch any project I get the following error:

An exception was encountered during the transaction. Exception: VaultServiceAPILib.VaultSoapException: 1 : Failure
at VaultService.VaultService.DoBeginTx(HttpApplicationState has, HttpSessionState hss, VaultLoginInfo vli, String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
at VaultService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
at VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)



I am able to check in and out and do everything else I have tried excluding branching. Any help in fixing this would great.

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

Post by Beth » Fri May 11, 2007 1:03 pm

What version of Vault are you using?

Check the Vault server log (sgvault.log in %windir%\temp\sgvault). What error is written there that corresponds to the failure?

Can you do the branch from a client on the Vault Server machine, using "localhost" for the Vault Server name? This will rule out network errors.

srsimons
Posts: 7
Joined: Thu Jun 22, 2006 6:52 am

Post by srsimons » Fri May 11, 2007 1:57 pm

We are using 3.5.2.

I noticed that the 3.5.2 installer for the Vault admin tool still reports 3.5.1 though.

We can't find sgvault.log anywhere on the server.

We are able to branch using localhost.

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

Post by Beth » Fri May 11, 2007 2:39 pm

Can you look in your Admin tool under Server options and see what's configured for the path to the log? Then go there and check what the log has to say. I could maybe be a SQL timeout or an IIS timeout.

On the Admin tool part, check your Add/Remove programs. Is it listed there as a separate entry? If so, then uninstall it and get the latest Admin tool from our website (http://www.sourcegear.com/vault/downloads.html).

Post Reply