Skip to main content
Skip table of contents

Environment Error -2147220991: "... Automation error The object invoked has disconnected from its clients"

This support note applies to:

  • AE Reporter (NZ)
  • AE Reporter (AU)
Article ID: 23518

When accessing MYOB Accountants Enterprise (AE) Reporter, you may receive the message "Environment Error: -2147220991: -2147024770 Automation error The object invoked has disconnected from its clients".

This commonly error occurs when the Data Execution Prevention (DEP) Settings conflict with the requirements of AE Reporter. To resolve this error, apply DEP Settings for essential Windows programs and services only.

If applying this setting does not eliminate the error, you may need to temporarily disable both User Account Control (UAC) and your anti-virus software, then re-run a Reinstalling AE Reporter of AE Reporter.

To apply Data Execution Protection (DEP) settings
  1. From the desktop, right-click on the Windows Start (
    ) icon and choose Control Panel from the menu.
  2. From the Control Panel, click System.
  3. Click Advanced System Settings.
  4. Click the Advanced tab, then under the Performance heading click Settings. The Performance Options window appears.
  5. Click the Data Execution Prevention tab.
  6. Select the Turn on DEP for essential Windows programs and services only option and click OK.

After performing the steps above, restart the workstation to ensure these settings are applied.

To disable User Account Control (UAC)
These steps involve making changes to the registry for Microsoft Server 2012/2016 and Windows 8/10. We recommend you refer to KB 35308: Important information regarding making registry edits and file changes prior to performing the instructions below. Ensure that you have someone who is confident in Microsoft Windows Operating Systems, such as your IT provider perform the following steps.
  1. From the Desktop, press the Windows key + R to open the Run window.

  2. In the Open field, type regedit and click OK. The Registry Editor window opens.

  3. Navigate to the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  4. Right-click on EnableLUA and select Modify from the menu.

    If there is not an EnableLUA value, right click the System registry key in the left-hand pane and select New > DWORD from the menu. In the Value name: field, type EnableLUA, then continue with the following steps.

  5. In the Value field of the dialog that appears enter the value 0 and then click OK.

  6. Close the Registry Editor then restart your computer to apply the changes.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.