Error: Sage 300 ERP UI Container has stopped working message occurs when printing reports

By | February 27, 2015

Sometimes users face an error message “Sage 300 ERP UI Container has stopped working” when printing reports. This normally occurs on a Windows 2008 R2 or Windows 2012 server when printing reports to the preview screen. When we click to view the problem details, the following message displays:

“Assertion failed!
Program: C:AppsAccpacRUNTIMEA4WCONTAINERXP.EXE
File: repcmd.c
Line: 227
Expression: NULL == record->pCrystalObjectHandle
For information on how your program can cause an assertion failure, see Visual C++ documentation on asserts”
New Stuff: Sage 300 ERP for Automobile Dealer Industry
Please refer the below screen shot
Runtime Library

To resolve such error please follow the below mentioned steps:
1. User must log in the server with as an administrator or account with admin rights

2. Run command prompt as administrator

3. From command line enter this command,

C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm/register[sage300runtimefolder]a4wcrinterop.dll.

4. If the registration fails, ensure that the Crystal Runtime Engine is installed properly for 32 bit computers Goto “C:Program FilesSAP BusinessObjectsCrystal Reports for .NET Framework 4.0CommonSAP BusinessObjects Enterprise XI 4.0win32_x86”.

For 64 bit computers Goto “C:Program Files(x86)SAP BusinessObjectsCrystal Reports for .NET Framework 4.0CommonSAP BusinessObjects Enterprise XI 4.0win32_x86”.

If the engine is installed properly the directory should have more than 1200 individual files.

5. For Windows 2012/2012 R2 and Windows 8/8.1, ensure that .NET Framework 3.5 Features in enabled.

Windows Features

6. If the above steps do not resolve the problem, uninstall and reinstall the system manager as a local administrator and apply the latest product update for Sage 300 ERP 2012 or 2014.

7. The error can also occur if you have multiple versions of crystal runtime files. 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. Any existence of these old Crystal components would create conflicts with the Crystal .NET runtime used by Sage 300 ERP.

About us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, Salesforce.com and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East.

For more details on Sage 300 and 300c Services, please contact us at accpac@greytrix.com. We will be glad to assist you.