Windows Server 2012: how to unlock job.dpd file in a division?

We have XPP 9.2 running on Windows Server 2012. People, on Windows PCs and Macs, access XPP via Remote Desktop.

A user on a Mac via Remote Desktop was editing a division when their computer crashed, leaving a division locked. Now she can't edit the division because the job.dpd file is locked in that division. How do we unlock a file on Windows Server 2012?

The error message XPP sends is "Cannot access JOB - Files in use".

Thank you!

p.s. We have to use Macs, so there will be a lot of lockups.

Parents Reply Children
  • If it was true that the user's Xyview actually crashed and the process no longer existed in any form, then the "system" would have released the lock on the job.dpd file. A job.dpd lock (of the type being used by XPP) cannot continue to exist if the process that locked the file is actually "gone".

    So as I said before there has to be a (xyview.exe) process (in some state) still running that's holding the file lock.

    I've seen in Windows that when an app crashes, the user is prompted to do something (like report it to Microsoft or stop the process) and if the prompt is not clicked away then the "process" is still running.

    An "Administrator" should be able to log in to the XPP server and should have permissions (or should be able to run with full permissions if UAC is getting in the way) to see "all" tasks for all users.

    Jonathan Dagresta
    RWS Group/
    XPP Development

  • The error message XPP is giving is "Cannot access Job - Files in Use". Will we have to reboot XPP every time a Mac crashes XPP?

    At the Windows OS level I was able to find a list of locked files under Control Panel, Admin Tools, Computer Management/ System Tools/ Shared Folders/ Open Files. I found the job.dpd file was locked in the division Lu told me about, released the lock, but she still can't edit the division.

    Maybe I'll have to file a case for this.

  • I see that you did open up a Case with support; that was the right thing to do at this point.

    I will note that in the screen snap you provided of the Computer Management/System Tools/Shared Folders/Open Files utility, that it shows a job.dpd file listed with #Locks = 0 (by another user "lgearheart", and not the highlighted "lthompson" user).

    There is more than one type of "lock" on files, and I'm doubtful that this utility is showing the kind of lock that's used by XPP on the job.dpd file (and other files that are locked by XPP). If the utility was showing the right kind of locks (used by XPP) then each job.dpd listed should have #Locks set to > 0 on them.

    And as I mentioned with the type of locking used by XPP, if the process owning the lock is still around (in any form) then I don't think there's anything you can "run" to release the lock other than something that completely "kills" that process.

    I  see Support suggested the Handle utility might help. That's a command-line based tool. There are also GUI-base tools like Process Explorer and Process Manager that might be of use.

    Jonathan Dagresta
    RWS Group/
    XPP Development