Error -230 5116:0:0 during optimization
You will typically get this message if there are 9 or 10 lock files in the folder where your company file resides. Lock files are left behind when the accounting program terminates abnormally. Since the application creates two lock files for the optimization process, it can not proceed without exceeding the maximum number of 10 lock files per folder rule. Once you delete the lock files, the optimization process of will run properly.
Lock files are named Lock0001.flk through Lock0010.flk
Note: The error message can also begin with DM error -225-5116-0-0
This error can also occur if the user is not signed onto their computer system as Administrator. In order to optimize, you need read/write access on the folder in which your company file resides.