Resolve Locked Files Preventing Login or Task Access
Description
Cause
  • System interruptions and network issues lock a file incorrectly on the server
  • Bad records in SY_lockfileinfo.M4T
  • Open Files on server or user has left task running
Resolution

 NOTE: If many files lock, consult a network administrator before you clear open files or restart the server. 

Confirm users have closed related tasks

  1. Go to File, Master Console.
  2. Note which related tasks are in use by other users on the network.
  3. Have those users close out of the related tasks.
  4. Try again.

Release locked files at the server

  1. Right-click the Start button and select Computer Management.
  2. Expand System Tools.
  3. Select Shared Folders.
  4. A list of open files appear.
    • Right-click individual files and select Close Open file
  5. If the error persists, restart the Sage 100 server as this will release Open Files.

Remove all the locks

  1. Browse to the ..\Mas90\ folder, then rename the Locks folder.
  2. Browse to the ..\Mas_System\ folder, then rename these files:
    • SY_Workstation.m4t
    •  SY_Console.m4t
    •  SY_LockFileInfo.m4t

For Sage 100 Advanced & Premium

  1. Ensure all users exit Sage 100 Advanced.
  2. Stop the application server service (exit the Application Server Configuration program if open).
  3. Browse to ..Mas90\Home\Lib\_appserv\.
  4. Rename these files: Sessions.pvk, locate.pvk.
  5. Launch Application Server Configuration, then close the program.
  6. Restart the Application Server Service.
  7. The system will recreate the renamed files and folders at the next login. You won't lose any data.
  8. This resolves "File in use" messages and ghost users.

Additional Information

  • Renaming M4T resolves errors where the file appears locked or module option screens don’t open
  • The System Rebuild utility can rebuild the M4T file
  • Ransomware filters blocking lck files can cause persistent errors. Contact IT to adjust these settings

Need more help?

Chat now

 

Steps to duplicate
Related Solutions

How to rebuild SY system files using the SY_RebuildSystem.m4p utility