Skip to content
logo Knowledgebase

Error: "Sage 300 ERP UI Container has stopped working" when printing reports to preview

Created on  | Last modified on 

Description

Cause

Resolution

Note: Must be logged in to the server or workstation as administrator or account with admin rights.

  • Run command prompt as administrator
  • From command line enter this command, C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm /register [sage300runtimefolder]\a4wcrinterop.dll.
    • where [sage300runtimefolder] is the location where Sage 300 ERP is installed. (i.e. - C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm /register "C:\Sage\Sage 300 ERP\runtime\a4wcrinterop.dll")
    • modify as necessary (per path to runtime folder)
  • If the registration fails, ensure that the Crystal Runtime Engine is installed properly by viewing the files in "C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" (for 32bit computers) or "C:\Program Files(x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86" (for 64 bit computers).
  • For Windows 2012/2012 R2 and Windows 8/8.1, ensure that .NET Framework 3.5 Feature is enabled.

Windows 2012/2012 R2

Windows 8/8.1

If the above steps does not resolve the problem, uninstall and reinstall system manager as a local administrator and apply the latest product update for the installed version of Sage 300. Ensure the Windows Updates are current if you are using an Windows XP workstations

  • Reinstall the Sage 300 program or workstation setup.

Note:
Substitute [sage300runtimefolder] with actual location of RUNTIME folder (local drive or UNC). If path to runtime is long, enclose the path with double quotes.

Important:
The error can also occur if you have multiple versions of crystal runtime files. This can occur if you have another application that is using a different crystal runtime engines. If you have another application that uses a different runtime engine, you will need to uninstall the application and install it on a separate machine. To identify if you have multiple versions of crystal runtime files:

  1. Go to Control Panel, Programs and Features.
  2. Look for installed software with names like "Seagate Crystal" or "Crystal Decisions". Any existence of these old Crystal components would create conflicts with the Crystal .NET runtime used by Sage 300 ERP.

Additional Notes:
The latest Windows™ 10 update appears to be removing the .NET 3.5 framework from computers. Please confirm by reviewing Programs and Features. Re-installing the .NET 3.5 framework should resolve the error without additional steps.

DocLink: Program hangs after closing the print preview window
DocLink: Error: "RegAsm : error RA0000 : Could not load file or assembly"
DocLink: Error: "There was a problem registering the assembly a4wcrinterop.dll during installation."

Chat with support