Sage 100

 View Only
  • 1.  "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 10:35
    Edited by Doug Higgs 07-07-2025 10:36
      |   view attached

    The end user is getting a "The file is locked by user name module name" when trying to close Accounts Payable.  I closed all of the open files and pvxwin32 sessions, and renamed sy_console and sy_workstation.  The error still happens.  Any ideas?



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 2.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 10:39

    Check the ...\MAS90\LOCK\ folder contents...



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 3.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 10:44

    There are a lot of LCK files in the mas90\locks\_XXX folder (XXX = company code).  Can all of the old LCK files be safely deleted?



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 4.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 11:31

    Doug, those "File is locked by" messages are generated from Records in SY_LockFileInfo.M4t found in the MAS_System folder.  I kick all users out, then rename that file. it will be recreated as soon as a user opens any task in Sage 100. 

    Be careful though. there is a similar file name in the MAS_SYSTEM folder that should not be renamed. Do not rename SY_lockfile.m4t



    ------------------------------
    David Overholt
    Programmer/Project Manager
    DWD Technology Group
    Fort Wayne IN
    (260) 399-8655
    ------------------------------



  • 5.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 11:34

    Thanks @David Overholt !



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 6.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-07-2025 12:09

    Have you tried rebooting the server for expediency?



    ------------------------------
    Jeff Schwenk
    Owner
    Bottomline Software, Inc.
    Waynesboro VA
    (540) 221-4444

    Improving bottom lines for over 25 years!
    ------------------------------



  • 7.  RE: "The file is locked by" When Trying to Close Accounts Payable

    Posted 07-08-2025 14:39

    @David Overholt  Renaming SY_LockFileInfo.M4t solved it.  Thanks!



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------