Fix Sage 50 An Error has Occurred in the Script on this Page

Introduction

While using Sage 50 or other Windows-based applications, you may encounter a message that says:
Sage 50 An error has occurred in the script on this page.

This is a Script Error caused by problems with Internet Explorer components used by Sage 50. It does not mean there’s an issue with your data, but it can disrupt your workflow. The error often appears when opening certain windows or dashboards within the software.

Causes Behind Sage 50 An error has occurred in the script on this Page

  1. The latest update wasn’t installed.
  2. ActiveX controls are blocked in Internet settings.
  3. The program isn’t installed in the correct folder on a 64-bit computer.
  4. The program path files are incorrect.
  5. The installation is damaged or incomplete.
  6. User Account Control (UAC) settings are causing restrictions.

Solutions:

Install the latest Service Release

  • Open Sage 50—U.S. Edition.
  • Go to Services > Check for Updates > Check Now.
  • Click Download to begin the update.
  • Close Sage 50 to allow the Service Release to install.
  • Once the installation is complete, reopen Sage 50 and confirm there are no errors.

Turn off Sage Advisor settings

  • Open Sage 50.
  • Go to Help > Sage Advisor > Settings.
  • Uncheck all available boxes, then click OK.
  • Close Sage 50 to apply the changes.
  • Reopen Sage 50.
  • Open any screen from the Maintain menu and confirm the error no longer appears.

Confirm Sage 50 is installed in the correct directory

  • If you’re using a 64-bit computer, follow these steps:
    • Check if your system is 32-bit or 64-bit using the Windows FAQ.
    • Skip this section if you have a 32-bit system.
  • Look at the current Sage 50 program path.
    Example: PROGRAMPATH=C:\PROGRA~2\Sage\PEACHT~1\
  • If your path is different from the example, uninstall Sage 50.
  • Reinstall Sage 50 and make sure to choose the Program Files (x86) folder during installation.

Repair Sage 50

  • Close Sage 50.
  • Go to the program installation folder.
  • Rename the PTToday folder to OLDPTToday.
  • Rename the ProductServices folder to OLDProductServices.
  • Run the Repair option for Sage 50.
  • Turn off any antivirus software and reinstall the latest Service Release.
  • Open Sage 50 and confirm it starts without any errors.

Disable User Account Control (UAC):

  • Turn off UAC from your system settings.
  • Open Sage 50 and check that the error no longer exists.
  • Make sure you’re able to pay multiple employees without issues.

Rename UserPref.dat:

  • Go to Maintain > Company Information.
  • Note the folder path shown on the Directory line.
  • Verify that all users are logged out of the company.
  • Open the folder from step 2 using File Explorer.
  • Find the file named USERPREF.DAT.
  • Rename it to OLDUSERPREF.DAT.
  • Sign back into the company.

Also Read: How to Fix Sage 50 Error Installing Actian Zen?

Final Words

The “script error” is typically related to how Sage 50 interacts with built-in browser components. Disabling Sage Advisor and clearing user preferences usually resolves the issue. It’s also helpful to keep Sage 50 updated and ensure all Windows components are functioning correctly. If you are still facing the Sage 50 An error has occurred in the script on this page issue, contact AccountingAdvice experts.

Frequently Asked Questions:

Q1: Why does the Sage 50 An error has occurred in the script on this page message in Sage 50 occur?

Ans: It’s caused by outdated or broken script references in Internet Explorer, which Sage 50 uses for some interface components.

Q2: Is my company data at risk when this error appears?

Ans: No, your data is safe. This is a display or scripting issue, not a data issue.

Q3: Can I ignore the script error?

Ans: While the error can be dismissed, it may reappear or prevent certain features from working properly, so it’s better to fix it.

Q4: Will updating Sage 50 help?

Ans: Yes, keeping Sage 50 and your system updated often resolves such compatibility issues.

Q5: Do I need to reinstall Sage 50?

Ans: Reinstallation is usually not necessary. The error can be fixed by adjusting settings or renaming specific files like USERPREF.DAT.

Disclaimer: DMconsultant is not affiliated with or endorsed by Sage. We are third-party independent service providers for accounting software & accounting services. The logos and trademark used in the website belong to their official representative.

Call Now +1-800-829-8610