MYOB AccountRight “Initialisation Error” (DEP)

MYOB logo

Short answer: an “Initialisation Error.” when opening a company file in older MYOB AccountRight Classic editions, such as AccountRight Enterprise v19, is usually Windows Data Execution Prevention (DEP) stopping the program. Add the AccountRight program file (Myobp.exe) to the DEP exception list, restart AccountRight and open the file again.

An accounting practice contacted us because their reception team could not open a client’s MYOB company file. AccountRight Enterprise started normally, but as soon as they opened the file a small window said “Initialisation Error.” and nothing else. A file from the previous year failed the same way, running AccountRight as an administrator made no difference, and the same file failed on a second server with the same version installed. That ruled out a damaged company file. The cause was a Windows security feature on the Remote Desktop server. Here is what we found and how to fix it.

Written up by Elliot Munro, CISO, from a fix by the GCIT service desk.

Symptoms

When opening a company file in MYOB AccountRight Enterprise (or another AccountRight Classic edition), this message appears and the file does not open:

Initialisation Error.

Other things you might notice:

  • The welcome screen (“Welcome to AccountRight Enterprise”) opens normally. The error appears only when you open a company file.
  • Every company file fails, including older files that used to open.
  • Running AccountRight as an administrator, or on another computer with the same Windows setup, gives the same result.
  • It often starts on a new or rebuilt Windows Server, such as a Remote Desktop server.

MYOB AccountRight Enterprise v19.13 welcome screen showing an Initialisation Error message

Affected Software

  • Application: MYOB AccountRight Enterprise v19.13 and other AccountRight Classic versions (v19 and earlier)
  • Platform: Windows Server (including Remote Desktop servers) and Windows 10 and 11
  • Related setting: Windows Data Execution Prevention (DEP)

Cause

Data Execution Prevention is a Windows security feature that stops programs running code from parts of memory meant only for data. Modern software is built to work with it. Older AccountRight Classic editions were not, and when DEP is set to protect every program (the usual setting on Windows Server), it stops AccountRight while it loads the company file. AccountRight then reports the generic “Initialisation Error.”

The company file itself is fine, which is why it opens on a computer where DEP allows AccountRight to run.

Resolution

You need an administrator account on the computer or server that runs AccountRight. Ask everyone to close AccountRight first.

  1. Press Windows + R, type sysdm.cpl and press Enter to open System Properties.
  2. On the Advanced tab, under Performance, click Settings.
  3. Open the Data Execution Prevention tab.
  4. If Turn on DEP for all programs and services except those I select is chosen, click Add.
  5. Browse to the AccountRight program file, Myobp.exe, in the folder where AccountRight is installed (for example C:\EnterpriseClassic\Myobp.exe or a folder under C:\Program Files (x86)\MYOB). It appears in the list as AccountRight Enterprise Application File.
  6. Click Apply and OK. Windows may ask you to restart.
  7. Open AccountRight and the company file again.

Windows Data Execution Prevention settings with AccountRight Enterprise Application File added to the exception list

If it still shows the error

  • Remove and re-add the exception. On one server the exception was in place but the error continued. Removing it, closing AccountRight, adding it again and reopening AccountRight fixed it.
  • Check you added the right file. Some installs have more than one AccountRight folder. Add the Myobp.exe that the shortcut actually opens.
  • Reinstall AccountRight. If the exception does not help, uninstall and reinstall AccountRight as an administrator, then add the exception again.

Important Notes

  • Only exempt what you need. DEP is a useful protection. Add the AccountRight program file only, not whole folders, and do not turn DEP off for the whole computer.
  • AccountRight Classic is an older product line. MYOB stopped providing updates and product support for AccountRight Classic v19 in Australia and New Zealand in 2019, and these editions need workarounds like this one on modern Windows. If you still rely on a Classic edition for old client files, plan a move to a current version.
  • Remote Desktop servers. The DEP setting applies to the whole server, so setting it once fixes every user who runs AccountRight on that server.

If you need help keeping MYOB running across your office or Remote Desktop server, get in touch with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.