Child pages
  • Error: "Unable to open file"

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML Wrap
classsection group
HTML Wrap
classcol span_3_of_5

ANSWER ID:9254

In AccountRight v19 and AccountEdge, there's a few things which will cause an "Unable to open file" error. Here are the most common:

Lock files

Company file set to 'Read-only' (PC) or 'locked' (MAC)

The folder containing the company file is not fully shared

Workstation not mapped correctly to the host

The first user to log on has selected single-user mode

The software is being accessed over the network

Insufficient disk space

Corrupt shortcut

Unrecognised company file

Corrupt company file

Other possible causes (AccountEdge only)

Lock Files

A common cause for this message is the presence of 'lock files' in the location where the company file is stored. These files are created by the system during an MYOB session to manage multi-user. Ordinarily these files are automatically deleted when the session ends, but an abrupt termination of a session can result in one or more of these files remaining in the system.

To rectify this, the lock files must be deleted. Using Windows Explorer, search for any files with an extension of *.FLK in the location of your company file and delete them.

For more information on finding and deleting lock files see our support note Locked company files and 'No more than 10 data files' message.

Company file set to 'Read-only' (PC) or 'locked' (MAC)

If you can't open your AccountRight company file, here are some common causes and solutions:

CauseSolution
The company file set to "Read only"

It's possible that your company file has been

marked as 

set to 'Read-only'. This can occur if the company file has been

copied to or from

copied from a removable

media

storage device, like a USB stick.

To

check this on a PC

check this:

  1. Go to the location on your computer or network where your company file is stored.
  2. Right-click the company file and choose Properties.
  3. Ensure the Read-only option is deselected.
  4. Click OK.

To check this on a Mac:

  1. Go to the location on your computer or network where your company file is stored.
  2. Hold the Control key on your keyboard and click once on the company file.
  3. Choose the Get Info option.
  4. Ensure the Locked option is deselected.
The folder containing the company file is not fully shared

If the company file is shared through network access to a shared folder, this folder must be fully shared and all users of the company file must have full access to the folder.

A windows user account identifies a person to a computer system or network, and each user account can be set to allow or restrict users from certain areas of the computer system.

We strongly recommend that you log onto your system with

Administrator or Power User type access. Both of these Windows user account types have high-level access privileges. Windows user

Administrator access. Windows user accounts set with limited access may experience difficulties in using some of the advanced features within

the accounting software

AccountRight. For example, it may stop them from using the OfficeLink function to create

bulk letters

personalised letters, sending reports to Excel, or using the ODBC Direct Driver.

 

To determine a

Windows User Account

user's

Access Privileges

access privileges

  1. Click the Windows Start button and choose Control Panel.
  2. Click Administrative tools then click Computer Management.
  3. In the left pane click Local Users and Groups and then double-click click Users in the right pane.
  4. In the right frame, locate the current user's name that is logged into Windows.
  5. Right click their name and select Properties. In our example the Windows User Account name is Roger.
    ImageImage Modified
  6. Click the Member Of tab and note what Windows User Access group that this user belongs to. In our example, Roger is part of the 'Users' group which only allows access to basic function within the Windows operating system.

  1. ImageImage Modified

 

How do I allow members of this Windows User Access group to have full access to company files?

  1. Open Windows Explorer by
right-clicking the Windows Start button and choosing Explore (or Open Windows Explorer)
  1. simultaneously pressing the Windows and E keys on your keyboard.
  2. Locate and right-click your current version MYOB folder and choose Properties. In our example we will select the Premier19 folder.
  3. Click the Security tab.
  4. In Windows XP Click Add. In Windows Vista and Windows 7, click Edit then click Add. This allows you to include the Windows User Access group to the list.
    ImageImage Modified
  5. Click Advanced.
    ImageImage Modified
  6. Click Find Now.
    ImageImage Modified
  7. Select the Windows User Access group you wish to give full access to company files, then click OK. In our example it was the 'Users' group.
  8. Click OK to add this group.
  9. Highlight the newly added Group then place a tick in Allow under the Full Control section. Click Apply then click OK.
    ImageImage Modified
  10. Repeat this process for any other Windows User Access group that requires full access to company files.
Note:

This process can be undertaken for individual users as well as groups as per the steps above. Placing a tick in under the Full Control section for the Everyone group is also another option

available

.

[Australia only]

For additional configuration information please refer to the following support notes:

Setting up AccountRight Premier v19 on a Windows 7 or 8 network

Setting up AccountRight Premier v19 on a Windows Vista network

Setting up AccountRight Premier v19 on a Windows XP network

AccountEdge network implementation guide

Workstation not mapped correctly to the host

The remote network location should be accessed by each workstation through a 'Mapped Network Drive' rather than by browsing though the 'Network Places' to open it.

Instructions for mapping network drives are also included in the support notes listed above

For instructions on mapping network drives see the AccountRight help (Australia | New Zealand).

The first user to log on has selected single-user mode (multi-user versions only)

If the first user to log on to your company file selects 'single-user mode' at the log-in screen, all other users will be locked out of the file.

To solve this, simply have the first user log out and then log back in making sure that the 'Multi-User' option is selected.

The software is being accessed over the network
Your software is

AccountRight is designed so that only the company file is shared over the network. Each workstation should have the software installed and run locally. If you try to run the software over a network, in addition to poor performance, access errors may occur.

Make sure each user is running the program locally though they access data on the network.

Insufficient disk spaceThe
'Unable to open file . . . ' message may also result from either the
machine hosting the company file, or the workstation, having insufficient disk space. Delete unwanted or unnecessary files from the machine in question to overcome the issue.
Corrupt shortcut
Sometimes these messages may result from a corrupt desktop shortcut to the program.
You can delete the shortcut and
re-create the shortcut to rectify this are

're attempting to open an unrecognised company file:

ImageImage Modified

Company files have the file extension .myo (for example MyCompanyFile.myo). In earlier MYOB software versions like Accounting and Accounting Plus, these files had a .dat extension, and in Premier they had a .prm extension. You can check to see if the company file you are trying to open has any of these extensions through Windows Explorer.

If the file you are attempting to open does not have the file extension .myo, .prm, or .dat then it is most likely not an MYOB company file and cannot be opened in your MYOB software.

Corrupt company file

To check if your company file is corrupt, try and open a different company file. If this opens without the error occurring it indicates the original company file is corrupt.

If the company file is corrupt we recommend you try to optimise the company file as some minor corruptions can be fixed by this process.

To run the optimisation:

  1. Click the Windows Start button and choose Programs (or All Programs).
  2. Select your product from the menu then choose MYOB Tools then choose MYOB Optimisation Assistant.
  3. Follow the on-screen instructions.

If the error message occurs after optimising your company file, you will need to restore the most recent backup you have available.

MYOB also offer a data file repair service - check our website for more details (Australia | New Zealand)

Other possible causes (AccountEdge only)

  • The name of the Macintosh hard disk contains a full stop, exclamation mark, or other invalid character.
  • The name of the folder containing the company file is more than 27 characters long.
  • The name of the company file contains more than 32 characters.
HTML Wrap
width15%
classcol span_1_of_5
 
HTML Wrap
floatleft
classcol span_1_of_5
Panelbox
namegreen
titleRelated topics
HTML Wrap
classsidebarlinks

Setting up a shortcut to your company file (AccountRight v19 and earlier)

Data file repairs