Could not lock the repository

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

Moderator: SourceGear

Post Reply
janole
Posts: 2
Joined: Mon Aug 17, 2009 12:55 am

Could not lock the repository

Post by janole » Mon Aug 17, 2009 1:02 am

Hi

When we try to commit changes, the message "Could not lock the repository" pops up.

I have never seen this message before.

Using vault client in CVS mode, version 4.05
Vault server 4.05


What can I do to fix this problem?

regards
Jan Ole

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

Re: Could not lock the repository

Post by Beth » Mon Aug 17, 2009 8:17 am

Are you receiving this with the Vault GUI client or with the IDE integration between Vault and Visual Studio?
Beth Kieler
SourceGear Technical Support

janole
Posts: 2
Joined: Mon Aug 17, 2009 12:55 am

Re: Could not lock the repository

Post by janole » Tue Aug 18, 2009 12:47 am

From the Vault GUI Client.

Dump of message log:
[17.08.2009 08:48:13] Preparing data to begin transaction
[17.08.2009 08:48:13] Beginning transaction
[17.08.2009 08:48:13] Check in $/ML5WIN/Src/dmSql/uDmSql.pas
[17.08.2009 08:48:14] Ending the transaction
[17.08.2009 08:48:14] Transaction failed
[17.08.2009 08:48:14] An error occurred while trying to end a transaction.
[17.08.2009 08:48:14] Transaction failed

After som digging, it turned out that the transaction log in MSSQL was full.
Clearing the transaction log solved the problem.

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

Re: Could not lock the repository

Post by Beth » Tue Aug 18, 2009 9:35 am

Thank you for the update. This should help other users.
Beth Kieler
SourceGear Technical Support

Post Reply