The file is exclusively locked but is not checked out!
Moderator: SourceGear
-
- Posts: 4
- Joined: Wed Apr 16, 2008 8:18 pm
The file is exclusively locked but is not checked out!
I've been reading through several post and I still could not find a solution to my problem.
Some History:
My company contracted with a developer to work on our code. The developer used Vault as a source code respository and everything worked great. We have since moved on to another developer and the prior developer gave us a full backup of his Vault database. We got that installed and everything seems to be working except I have about a dozen files which I can not check in/check out or do anything with these files because we keep getting the error that " [our file] caused the transaction to fail: The file has been exclusively locked."
What I have Tried So Far:
(1) I've logged in on the server and cleared all checked out files and that did not help.
(2) I've cleared the local cache on the work station and that did not help.
(3) We are using the latest version of Vault which is 4.1.1.18060 on both the server and the client.
(4) These problem files show as "Edited" in the window and not checked out.
How do I clear the exclusive lock if the file is not checked out.
Some History:
My company contracted with a developer to work on our code. The developer used Vault as a source code respository and everything worked great. We have since moved on to another developer and the prior developer gave us a full backup of his Vault database. We got that installed and everything seems to be working except I have about a dozen files which I can not check in/check out or do anything with these files because we keep getting the error that " [our file] caused the transaction to fail: The file has been exclusively locked."
What I have Tried So Far:
(1) I've logged in on the server and cleared all checked out files and that did not help.
(2) I've cleared the local cache on the work station and that did not help.
(3) We are using the latest version of Vault which is 4.1.1.18060 on both the server and the client.
(4) These problem files show as "Edited" in the window and not checked out.
How do I clear the exclusive lock if the file is not checked out.
When you said you cleared all checked out items, I assume you did an Undo Checkout from the Admin Client, is that right?
Have you tried restarting the Vault Server? Use the iisreset command.
If, after restarting the server, the problem persists, run this query on the sgvault database:
Select * from tblcheckoutlistitems
Do the paths to the files appear in the query results?
Have you tried restarting the Vault Server? Use the iisreset command.
If, after restarting the server, the problem persists, run this query on the sgvault database:
Select * from tblcheckoutlistitems
Do the paths to the files appear in the query results?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 4
- Joined: Wed Apr 16, 2008 8:18 pm
Clearing Exclusive Lock
Yes Linda, I was using the Admin Web Client to clear the checked out items.
I had restarted the server a few times and stopped and started the vault website. I just did the iisreset and that did not make a difference.
I ran the query and it returned 22 items. 5 of the items in the list are items that I could not check in. (Note in my original post I said there were a dozen files. 7 of these I was able to get checked in by checking them out again and then checking them in.
All of the items in the list show the full path and the paths are correct.
Any other suggestions?
I had restarted the server a few times and stopped and started the vault website. I just did the iisreset and that did not make a difference.
I ran the query and it returned 22 items. 5 of the items in the list are items that I could not check in. (Note in my original post I said there were a dozen files. 7 of these I was able to get checked in by checking them out again and then checking them in.
All of the items in the list show the full path and the paths are correct.
Any other suggestions?
-
- Posts: 4
- Joined: Wed Apr 16, 2008 8:18 pm
Clearing Exclusive Lock
Hi Linda,
One more things that I noticed about the data in the "tblcheckoutlistitems" table is that all of the records have a "userid" of 3 or 4. There are only two users now, the Admin which is ID=1 and myself which is ID=2. Could this be part of the problem?
One more things that I noticed about the data in the "tblcheckoutlistitems" table is that all of the records have a "userid" of 3 or 4. There are only two users now, the Admin which is ID=1 and myself which is ID=2. Could this be part of the problem?
-
- Posts: 4
- Joined: Wed Apr 16, 2008 8:18 pm
Re: The file is exclusively locked but is not checked out!
Was there ever a resolution for this issue?
I am having the same problem. A file is locked exclusively. I do not see it locked in my client, but the other developer does. If I lock it exclusively in my client he sees two locks in his. I clear it and it clears one of the locks.
I am having the same problem. A file is locked exclusively. I do not see it locked in my client, but the other developer does. If I lock it exclusively in my client he sees two locks in his. I clear it and it clears one of the locks.
Re: The file is exclusively locked but is not checked out!
What version of Vault are you using? There were some checkout issues in previous versions.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager