I have some users who use a VFP routine. We had a power cut and when they try to access their routines they get the message file access denied. How can I unlock these tables.
I strongly recommend you connect every computer on your network to a UPS (uninterruptible power supply). That will go a long toward preventing future problems.
A lot of times that error will occur if the connection drops to a server while the programs are running - like a network hub loses power but the user's computer and the server stay up and running, or the server reboots but the apps are still running. Basically, the open files handles become invalid, but the app and the PC still think they are valid.
The server should eventually clear any open connections, but it may take a reboot.
In the meantime, I put together a utility which will close open files on a server if the need arises, which, it sometimes does.
Feel free to follow the link in my signature to the Fox stuff, then scroll down to the "Open File Lister" section. It is a VFP form not an executable, so it needs fox to run. It comes in quite useful at times.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.