Oftentimes, a user might face a Script error once they try to launch Sage 50 and wish to perform a couple of operations, i.e., setting up filter criteria, selecting payroll, Selecting Maintain within the Maintenance Window, and more. These Script errors are available in the form of different error codes; however, we are going to discuss today something slightly different. What is a Sage 50 An error has occurred in the script on this page. This is a technical error that requires your immediate action.

What is Meant by a Script Error on this Page in Sage 50?

As mentioned previously, this is a Sage technical error which is displayed at the launch of Sage. The kind of error that you might see could be more or less like the one below and depends on the version you are dealing with:

Error: “Script Error Line 26 C:[Location]what’s new” appears when opening the program

or

Error: An error has occurred in the script on this Page” with the URL C:/Program%20Files%20(x86)/Sage/Peachtree/IAR/IARMainPageFix.html

  • Line: [Line Number]
  • Char: [Character]
  • Error: Object doesn’t Consultant this property or method: ‘PAWWeb.HostApp’
  • Code: 0
  • URL: [Directory/WhatIsNew/[Location].htm]

Script error often appears with a warning like: Do you want to go ahead?

Script error line 26.
Script error cannot display opening program.
Script error on what's new page and window.
Script error on what's a new window.
Script error on internal accounting review
Script error page can't be displayed.
Script error opening selects for payroll entry.

The Main Cause For Sage 50 Script Error

  • ActiveX controls have been blocked within the Internet settings.
  • The latest Service Release has not been installed
  • Not installed in the Program Files (x86) directory within a 64-bit computer
  • Invalid program path files
  • User Account Control (UAC) settings
  • Damaged or incomplete installation

Solution For Sage 50 Script Error

Before we proceed with the solution, please take note of the below:

NOTE: On September 11, 2024, widespread reports about “an error has occurred in the script on this page” when opening Sage 50. The error popped up every time a company opened or changed. However, the issue has been resolved through a Product and Services (P&S) update on September 17, 2024. Now you can take a look below for instructions on how to manually download the update if you do not want to wait for it to be automatically downloaded and installed.

To start with, manually download the Product and Services (P&S) update:

Note: As P&S updates generally install without user interaction one might get the message “There are no updates available at this time.”

  • First, click OK on the message
  • Next close the Sage 50 application
  • Now, reopen to install the P&S update.

After you have taken care of the above-mentioned, now let us proceed with the solutions:

Solution 1: To Install the latest Service Release

  • Launch the Sage 50—U.S. Edition.
  • Next, select Services
  • Now, check for Updates.
  • After this select Check Now.
  • Next, Select Download Sage 50 latest.
  • Close Sage.
  • Service Release will now be installed.
  • Lastly, verify that you get no errors when opening Sage.

Solution 2: The Sage Advisor

  • Start by opening Sage.
  • Next, select Help
  • Now click on Sage Advisor
  • Next, click on Settings.
  • Uncheck all the boxes
  • Now click OK.
  • Close Sage for the changes to take effect.
  • Next, Open Sage.
  • Finally, open a Maintenance screen
  • Lastly, verify you no longer get an error.

Solution 3: Install on a 64-bit computer

Note: In case you own a 64-bit computer, you are required to verify that the program has been installed in the Program Files (x86) directory. The program path, for instance, should look like this: PROGRAMPATH=C:\PROGRA~2\Sage\PEACHT~1.

  • Be share to check the current installed program path,
  • When your program path does not look similar to the sample above, uninstall the program.
  • Now, reinstall the program, being careful to select the Program Files (x86) directory for the program files.

Solution 4: Damaged or incomplete installation

  • Start by closing Sage.
  • Next, go to the program path.
  • Now, rename the PTToday folder to OLDPTToday.
  • Next, rename the ProductServices folder to OLDProductServices.
  • Now, run Repair
  • Disable any antivirus and reinstall the latest Service Release.
  • Lastly, verify Sage opens without error.

Solution 5: Disable User Account Control (UAC)

  • Disable UAC
  • Now, verify that you no longer receive the error and that you can pay multiple employees.

Solution 6: To Rename UserPref.dat

  • Start by renaming the UserPref.dat.
  • In case you are also seeing the error “Assertion Failed: System.IO.FileLoadException: Retrieving the COM class factory for component with CLSID {22743F12-6056-4120-A3FE-98200361EF91} failed due to the following error: 80131040.” after going through the Script Error.

Conclusion

So, there you have it friends, these are some of the main aspects, factors, and reasons for the Sage 50 An error has occurred in the script on this page. However, if you still have some doubts about the same, do share your thoughts or contact our Sage 50 experts via chat or phone for an error solution.

Exit Modal

Stop Struggling with Accounting Software – We Can Help!

Still facing problems with QuickBooks or Sage? Our certified pros are just a click away.

  • Fast fixes for install & update errors
  • Protect your financial data
  • Instant live chat with professionals
Start a Live Chat Now!
Accountspro Popup