Error: "MAS has stopped working" or "Sage ERP 100 Business Desktop has stopped working" when attempting to access Sage 100 via a Windows Server 64-bit Citrix/Terminal Server connection
Description

How to configure Data Execution Prevention (DEP) and disable DEP if the issue continues.

Cause

​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

Resolution
 CAUTION: This solution requires advanced knowledge of Windows security and network settings. Sage isn't responsible for any issues that arise from changes to these settings. Ensure you back up all system and application databases necessary for a complete restoration. It's advisable to contact a certified consultant or your system administrator for assistance.


CAUTION: This solution needs advanced Operating System knowledge. Consult your system administrator for help. Sage isn't liable for issues caused by improper changes to the Windows Registry. Always back up your data before applying advanced solutions.

Verify environment support

Review the Supported Platform Matrix for the Sage 100 version and confirm that your environment is supported.

Add a Data Execution Prevention exception

Note: These steps apply to Windows Server 2019.
  1. Open Control Panel.
  2. Click System and Security.
  3. Click System.
  4. Click Change Settings.
  5. In the System Properties window, select the Advanced tab.
  6. In the Performance section, click Settings.
  7. In the Performance Options window, select the Data Execution Prevention tab.
  8. Select one of these options:
    • Turn on DEP for essential Windows programs and services only
    • Turn on DEP for all programs and services except those I select
  9. If you selected the second option:
    1. Click Add.
    2. Browse to the ..\MAS90\Launcher folder.
    3. Select the file listed in the Windows error details:
      • Launch32.exe
      • Launcher.2016.exe
      • Pvxwin32.exe
      • Pvxwin64.exe
    4. Click Open.
    5. Click Apply.
    6. Click OK.
  10. Restart the server.

Disable DEP if the issue continues

Run the BCDEdit command

  1. Open Command Prompt as an administrator on the Terminal Server.
  2. Verify the title bar displays Administrator: Command Prompt.
  3. Enter the following command:
    • bcdedit.exe /set nx AlwaysOff
  4. You should get the following response:
    • "The operation completed successfully."
  5. Reboot the Terminal Server for the settings to take effect

Need more help?

Chat now

Steps to duplicate
Related Solutions

Error: "Sage ERP 100 Business Desktop has stopped working" or "File xxx not found" or "Error: #12: File does not exist (or already exists)" when attempting to access Sage 100 as a RemoteApp