locked record

Kenneth Brody kenbrody at spamcop.net
Mon Dec 22 07:26:41 PST 2014


On 12/19/2014 3:10 PM, Richard Kreiss wrote:
> One of my clients called today with a locked record problem.
>
> Short of rebooting his Windows 8 server, is there way to clear the lock on this record?
>
> 1. Record is locked with no one logged into the system
> 2. Reports hang-up on this record
> 3. The only possible time to reboot the server would be just after midnight.
>
> Is there a way that, when using either Procexp or procmon to see what might be locking this record if rclerk or rreport are running on a local computer and not the server?

I have not found any Windows API that lets you enumerate the locks on a 
file, as the "showlock" utility does for *nix.

There is a utility "WhoLockMe" which sounds as if it might do the trick, but 
I've heard that it doesn't show record locks on a file, just file locks.

     http://www.majorgeeks.com/files/details/wholockme.html

It's possible that you might be able to close the file from the server side 
via the "net file" command (type "net help file" for info), but it won't do 
it "nicely".  If every workstation logs in as a different user, then "net 
file" may at least tell you which user has the file open.

-- 
Kenneth Brody


More information about the Filepro-list mailing list