Error while registering an OCX in Sage 300

By | February 16, 2022

We are familiar that Sage 300 ERP allows customizing the standard screens, which has different OCX name than that of standard name. Whenever we perform some type of customization in sage 300, which has new screen files and other dependent files, user needs to register the same in windows.

Sometimes when we change only few files in sage it might not reflect in Sage 300 ERP immediately, and running REGACC to register files might not work as Sage 300 takes some time to reflect files depending on modules installed in the system.

In this kind of scenario, you can follow below steps to register OCX.

  1. Run command  prompt and change the path where OCX is present
  2. Register an OCX file using regsvr32 command with regsv32 followed by the path of the OCX file.

               “Example: regsvr32 “C:\Sage\Sage300\GD65A\AccpacGD2016.ocx”


Sometimes while registering the OCX you might come across an error, which will not allow you to register the OCX.



This could possibly be the issue with Command Prompt not opened with Administrative Rights, make sure to register the OCX by opening command prompt with Administrative Rights.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged 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 competence.

Greytrix offers unique GUMU™ integrated solutions of  Sage 300 with Sage CRM, Salesforce(listed on Salesforce Appexchange), Dynamics 365 CRM 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 services for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and for Sage 300c development services we offer, upgrades of older codes and screens to new web screens, latest integrations using Data and web services  to Sage business partners, end users and Sage PSG worldwide.

Greytrix offers 20+ addons for Sage 300 to enhance productivity such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East. The GUMU™ integration for Dynamics 365 CRM – Sage ERP is listed on Microsoft Appsource with easy implementation package.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

For more details on Sage 300 and Sage 300c Services, please contact us at, We will like to hear from you.