Can't Open Company File
- Unable to open file, file may be locked or in use, or access privileges may be incorrect
- Unable to open file; File name is too long
- Company File Opens with Optimization Assistant
- Other Issues
This article will cover the causes of not being able to open the company file and how to handle the various messages you may receive. The main cause of these issues are what are known as lock files. Lock files are created when you log in to the company file and should be deleted automatically when you quit out of the software. If the software is terminated improperly (ie: it crashes) those lock files won't be cleared and the program will think you are actually still logged into the file.
There are three of these files: Access01.flk, Access51.flk, and Lock[Number].flk (for example Lock0001.flk).
Unable to open file, file may be locked or in use, or access privileges may be incorrect
There are several possible causes for this error message and depending on the cause - the solution for resolving it will be different.
Someone has logged into the company file as a single user
Have the person logged in as a single user log out and log back in as a multiuser.
A network interruption (machine going to sleep, AccountEdge crashing, machine crashing, power outage, etc) has left a lock file
You resolve this by having everyone log out of the data file and then delete any .flk files that you find (access, access51 or lock files) in the same folder as the data file. Alternatively, you can have everyone log out of the data file and then restart the machine that hosts the file.
You are attempting to open a zipped (compressed) file (ie: an AccountEdge backup file)
Restore the backup file and then open it. Your data file should have an extension of .myo not .zip.
The name of the Macintosh hard disk contains invalid characters
If your hard drive has special characters (#$!) or non-english letters it can be problematic. Rename your hard drive to the standard Macintosh HD.
The folder containing the file has incorrect permissions
If you do not have the appropriate permissions on the AccountEdge file or the folder that the file is in can cause issues.
PLEASE NOTE: If you are not comfortable/familiar with changing the permissions on a file or folder please see an I.T. professional. This can be different for different operating systems and is not something that the AccountEdge support staff can assist you with. The pages below do provide reference information for those who would like to handle this themselves:
- This support page has information on setting permissions properly on Windows.
- This support page has information on setting permissions properly on Mac.
Unable to open file; File name is too long.
- The name of the company file contains more than 32 characters (28 characters plus .myo)
- The name of the folder containing the company file is more than 27 characters long
- The path to your company file location (hard disk name + folder names + company file name) is more than 128 characters
Shorten the length of the file name or the path structure. Try not to bury the file in folders inside of folders. A good test to see if this is the issue is to move the file to the Desktop and attempt to open it from there. If this works you'll want to change the location/name to be shorter than you originally made it.
Company File Opens with Optimization Assistant
Occasionally on the Mac, when users attempt to open a company file by double-clicking on the file, the AccountEdge Optimization Assistant will attempt to open the file, rather than AccountEdge itself. To resolve this, you use Get Info on the company file to set the Open with to indicate AccountEdge instead of the Optimization Assistant:
- Click once on the company file to highlight it
- Select Get Info from the File menu at the top of the screen
- In the Get Info window, if the Open with: information isn't displayed, click the triangle to its left to display it
- In the drop down menu, select AccountEdge as the program to open the file with
Above we've covered the most common problems that users run into when attempting to open the company file. The issues below happen less frequently but are possible.
Too Many Lock Files
If AccountEdge crashes it can cause an issue with lingering lock files. If you have many users it's possible that you could have some users who were unable to login while others were locked out of the file.
If you have too many lock files in a folder it will prevent anyone from logging in. It can also prevent the file from being optimized.
You can resolve this by deleting these lingering .flk files or by restarting the machine that hosts the data.
This issue of having too many lock files can present several different error messages:
- No More Than X Data Files in Any Folder May Be Opened at One Time (X could be any number)
- Error -230 5116:0:0 (when attempting to Optimize a company file)
- Max Number of Clients have accessed the file, Any further request would be denied (when attempting to open a company file with AENE)
- DM error -225-5116-0-0 (when attempting to Optimize a company file)
Shortcut or Alias is corrupt
The shortcut or alias being used to open the company file is not correctly referencing the company file. Perhaps the company file was moved, or the remote resource (disk, folder, etc.) is unavailable. Verify the shortcut or alias is correctly referencing the file, and the resource is available.
Can't Find Company File
There is a separate support article that has instructions for if you are having trouble with finding the file. You can find that here.