Troubleshooting the “Sage 300 ERP UI Container has stopped working” part 1

3 minute read time.

It is probably an error we’ve all seen while in Sage 300 ERP, the dreaded “Sage 300 ERP UI Container has stopped working”.

We have blogged about this topic before but it seems that this error message has popped up in a variety situations from opening bank reconciliation to printing reports to using web deployment.

A quick check of our Knowledgebase indicates there are at least 16 KB articles that deal with this error.

After noticing this trend, we’ve decided to blog about all the “Sage 300 ERP UI Container” errors that we’ve encountered outside of the one that occurs when printing reports to preview, which, as mentioned, has been covered in a previous blog post.  Since there are so many of these areas, we have split up this blog post into two parts.

Let’s begin.

Printing Reports

The most common of the “Sage 300 ERP UI Container” error is when you are trying to print reports. The cause of this error is an issue with the Crystal User Function Library DLL file that can cause the UI Container to hang.

If you are having this issue, then follow these steps to resolve:

  1. Browse to : C:\Windows\SysWOW64\CRUFLCCS.dll
  2. Rename the file and check if it stays deleted. Some files are re-created automatically.
  3. Reprint the report

Bank Reconciliation

Another scenario where you will get the UI Container error is when opening Bank Reconciliation in version 2012. To resolve this issue, simply:

  1. Click Start
  2. Type in Run in the search Field
  3. Then type “RegAcc.exe
  4. Press Enter
  5. Once processing is complete, start Sage 300 ERP as Administrator

Accounts Payable/Payroll

If you are in Accounts Payable or Payroll using version 2012 and trying to print checks then you’ve more than likely encountered the "Sage 300 ERP UI Container has stopped working" error message.

It is possible that the cause of this error might have to do with a corrupted user profile. If that is the case then rename the user folder of the affected Sage 300 ERP user and recreate that user. Here are the steps to follow:

  1. Logon to Sage 300 ERP.
  2. Under the Help menu, click System Information.
  3. Identify the path for the Shared Data Directory.
  4. Browse to the Shared Data Directory Path.
  5. Locate and browse the USER folder.
  6. Located the Sage 300 ERP folder for the affected user.(e.g. if the Sage 300 ERP user logon is JACK1, there should be a folder called JACK1)
  7. Rename the user folder for the affected user.
  8. Go to Administrative Services to recreate the user.

Web Deployment

If you are using web deployment for Sage 300 ERP then you may have encountered the container error when clicking on the Web Deployment icon or when navigating through Web Deployment.

To resolve the error:

  1. Identify the location of your Runtime and Web folder.
  1. Logon to Sage 300 ERP.
  2. Under the Help menu, click System Information.
  3. In the Program Directory field, identify the path location for the Program Directory
    This Program Directory contains both the Runtime folder and the Web folder.
  • Uninstall System Manager (SM) and Web Deployment.
  • Rename the runtime and the web folders located in the Program Directory.
  • Reinstall SM and Web Deployment.
  • Install the latest Product Update (PU).
  • Verify that the desktop version of Sage 300 ERP is working by logging into Sage 300 ERP desktop.
  • Run Configuration Wizard for the Web Deployment.
  1. Click the Windows Start button.
  2. In the Search box, type "Web Deployment Manager".
  3. Press ENTER.
  4. Under the Configure menu, click Run Configuration Manager and complete the configuration wizard.

    The error should not appear when you logon to Web Deployment. 

Timecard

Now if you are saving a Timecard then this error has been known to pop up and you will see the following popup:

 

This error can be resolved by downloading the hotfix found in KB 23705: “Error: "Sage 300 ERP UI Container has encountered a problem" occurs when saving a Timecard”

Also, the error is seen when entering details in a payroll Timecard in Sage 300 ERP 2014 especially if the columns have been customized. Download Sage 300 ERP 2014 Product Update 1 to resolve the error.

Check back next week, where we outline more Sage 300 ERP UI Container Errors. In the meantime, if you have any questions about this error, ask away in the comment section below.

For the latest support news and updates...
Follow us on...
 

  • Sage300 ERP 2022 (300 Premium) (Build 40) (Product Update 4). Ours was crashing on A/P Vendors > Vendor Activity. After some troubleshooting discovered that we need to have Microsoft SQL Server 2012 Client installed. The workstation setup only installed SQL 18 ODBC and that would work with everything else except Vendor Activity.

    Worked flawlessly after that. I recall original version of Sage 2022 would install SQL Server 2012 Client as part of the install but the 2022.4 version does not.

  • Hi, the same error has prompt after another message. The problem happened at AP Invoice when the user opened the Entry screen for 20-30minutes for data entries. And click [Save], it prompt error : Adjustment G/L Distribution. Database error (operation=REV-Browse, error=0). After close the error message, try to Close the AP Invoice Entry, then system prompt this message - Sage 300 ERP UI Container has stopped working. Click on 'Close the program' option, but no effect. So, have to do End Task to force to close the system. 

  • Hi Gurus,  I am facing an issue on customized AR Invoice Entry UI AR2100 in production environment and NOT in Dev environment.

    created it as a custom app EXE with the ID "RT" Created roto entry as 

    Roto file read as below
    RT2100 OBJECT RT2100.EXE

    entry in grp.dat to launch custom AR Invoice entry UI 
    program files folder: RT62A

    Dev Environment:
    Sage 300 ERP version 6.2
    MS SQL Server 

    Whenever, i am trying to print the Invoice using Custom UI File menu i am getting the below error and the program hangs

    "Sage 300 ERP UI Container has stopped working"

    Anyone please guide me where i am doing wrong.

    Please let me know if need any further information to investigate the issue.

  • I got the UI container error on printing report, but I didn't find this file CRUFLCCS.dll on the C Drive. Any other idea on how this to be solved ?