DOORS cannot move a project

Hi,
I can't move a DOORS 9.5 project from one folder to another because I get the following message box: Move failed: Cannot move a locked item.
I have used the 'Manage Locks...' Tool and the project does not appear as locked.  I have also checked the connected users using dbadmin but there is not any user. I've tried to archive the project and I succedeed. In case it was blocket it should have not allowed me to do that, right?

What could be the problem? What is 'locking' the project?

Thanks in advance.


LeireTorres - Mon Apr 11 03:45:35 EDT 2016

Re: DOORS cannot move a project
PMiller - Mon Apr 11 04:48:38 EDT 2016

If you cannot see the lock when you use the DBSAdmin tool, and archiving does not raise a lock warning, then it seems like you have a rogue lock that has not cleared correctly.

This can happen if a users client session ends abnormally whilst a save was being performed, such as when a PC suffers a critical exception event.

DOORS also applies locks to the folder path that a module resides in - I'm not sure about version 9.5, but certainly in earlier versions of DOORS it had a problem with clearing up these folder locks after a user had closed a module that they were editing. These residual folder locks would only clear up when the user logged out so see if you can get everyone to log out and see if this helps.

I know you have tried using the DBSAdmin tool to see locks, but I would recommend logging into a DOORS client as the Administrator user and have a look at the "Manage Locks" tool just to be sure that it doesn't show any folder locks within that project.

Beyond that, stopping and restarting the DOORS database service has been known to clear rogue locks, and if that doesn't work, then it gets more complicated where you have to try and hunt down the lock files (lock.dtc) within the database and delete them. This will require some DXL to help guide you to the locations in the database where you will find the data for each of the modules in your project - this would be a last resort.

 

Paul Miller
Melbourne, Australia

 

Re: DOORS cannot move a project
mstanke - Thu Apr 14 03:05:33 EDT 2016

Hi,

are you sure that the folder is not open while you try to move it ? The folder must be visible in the module explorer (right panel) in order to be moved.
Otherwise a restart of DOORS DB should remove most of the locks.
If you still cannot move the folder after the db restart you might stop teh db and search for any lock.dtc files within the db data directory and remove them.