Error 22 can occur in a company when running a report or processing a pay/transaction, or even when looking up a transaction. There are several causes, but common causes are:
Payroll: Your Payroll GL Chart company is incorrect.
There are locked data files on the system when the error occurs.
Other system issues such as file locks, unmatched processes, file corruptions, missing files, etc.
To check your Payroll GL Chart company
Go to Setups, Payroll, Options, Payroll Options.
Select the Company Name field.
Re-select the GL Chart company using Find F2. Note: If you do not use GL then select the current payroll company.
To address Error 22 for locked files
Log all users out of Attaché.
Log only yourself back in and run a File integrity Check to ensure there are no remaining data file issues. To do this in Attaché. select Tools, Company, Data Checks, Database System Status and select All F5 then Accept F9.
If all files complete the check with a status of OK AND contain Record Counts for files with larger sizes, then the error may have been resolved.
Close ESC to finish the check.
If other users are able to log back in without any error the issue should be resolved.
Continue as normal if the error doesn't come up again. Where users get Error 22 again there will most likely be other causes for the error that need further investigation. Please raise a new case online and reference the title of this article. Do not continue working until the error is resolved.
Other system issues
If the above causes do not apply to you, or did not resolve the error, then please raise a new case online and reference the title of this article in the Case Description.
