Unable to Backup Files in Use - Open Files |
Go Back to List of FAQs Previous Next |
|
Unable to Backup or Cleanup - Files in Use - Open FilesIf Shopkeeper says some files are in use and that prevents the backup or the cleanup, then the files have been reported in use by the main / server computer.
First try to close any copy of Shopkeeper on all computers.
If you know that no-one is currently connected to the file server, you can restart the server, which is guaranteed to close any open data files.
If you prefer not to immediately take the server reboot approach . . .
At each computer, you can press Ctrl+Shift+Esc on the keyboard to open the Windows Task Manager to see if there's a "hidden" running copy of VJS. Look for process VJS.EXE - which you could right-click choose Bring to Front (so you can see it and close it normally ) or right-click and chose End Task.
Or, from your main / file server computer, you can see which data files are open and who has them open. That may give you the information needed to know which computer to exit Shopkeeper or restart.
It's not the first choice, but you could even forcibly close the files from this screen.
*) On the server computer, you can see what shared files are open with these steps.
-- The exact screens and commands can vary depending on the version of Windows or Windows Server --
click on the Start Button, type compmgmt.msc which should suggest
You may be able to open it normally or you may have to Run as Administrator
Open Shared Folders, Open files
The Shopkeeper files would typically include \DATA and \CURRENT in the name. If you can't figure out who has the files open, you can forcibly close them by right-clicking an open file then choosing Close.
The list of open files might show a fairly generic username such as Shopkeeper or Sales, i.e. not showing you exactly which computer has the files open making it difficult to know which compute to go to and close Shopkeeper. A way to more specifically identify the computer with open Shopkeeper files is to click the Windows start button, type POWERSHELL and choose to run it as Administrator, then in the Powershell command box type (or copy n paste) the command:
Get-SmbOpenFile | Select ClientUserName, ClientComputerName, Path
The Shopkeeper files open would be those including \DATA and \CURRENT in the name. In some cases, this may show the comptuer's IP Address rather than the computer's name making it less easy for you to know which comptuer has the Shopkeeper files open.
|