Discussion Locked

NT Shows open files when they are not!

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
When some users start a foxpro multiuser program, foxpro reports that a certain file is in use and won't let the user in. The file in question opens and closes almost instantly in the foxpro app when the program is started. NT reports that the fileis open by a certain user. I've had all users log out and shut down and NT still shows that the file is open. Under server in control panel, you can close resource and it works. Refresh doesn't close the file. Is this a cache thing or what? How often is this info refreshed? NT4 server service pack 4. Thanks.

5 replies

by beermonster

It sounds like whatever process is locking the file is not releasing it when it's finished. Basically, when a process accesses a resource like a file it requests a lock on the resource from the operating system, and relinquishes that lock upon completion. Theres a great tool from sysinternals.com called handlex which will show you what process is locking the file, and that should help you troubleshoot why it's happening. Good luck.

by dcadmin

try the winfile program, start>run then type in winfile. Find the file on the network select it(one click), then go to the file menu>properties. On that window, click on the open by box, it will tell you if anyone has it open

This discussion is closed to new replies.