In Sage 300 ERP, user might come across some complicated error messages while opening screens (UI). In this blog we will discuss about one of the common errors while opening the customized screen or a third-party module screen.
Many times, when standard Sage 300 screen is customized by the third party by adding some additional functionality in it. User might come across some issue while opening the customized screen. Refer below screenshot, where standard sage 300 OE entry screen is customized in some custom module where additional functionality is added into it. When user tries to open this customized OE order entry screen user get an error “Error code: -2147221164 Class not registered”.
However, the error description is quite simple to understand, that the control/ screen or rather OCX is not registered properly. And it needs to be register properly. But, sometimes screen might already have been got register properly, Or it can be registered with REGACC command.
But sometimes this command or registering individual OCX manually will also not work as the possible cause for the error might be some DLL to which it is referring to is not getting registered properly.
So below solution might help to resolve the scenario:
- The DLL used for a project needs to be rechecked it has been taken from a proper path and it is validated.
- Sometimes we had taken a DLL proper but then also we face an issue because it is not properly built.
- It might require rebuild to the .NET assembly i.e. DLL which is used for a customized project.
- Then need to create codebase “.tlb” file from the same and need to register that “.DLL” at proper location.
- Reopen the sage and now you will be able to open a customized screen without error.
Note: Sometimes this may require remaking of OCX with the latest references as well. But if there is no changes in the assembly and only its registration is a concern then it will definitely help.
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.com (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 sData 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 GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill 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 accpac@greytrix.com, We will like to hear from you.
The post Possible cause for issue: “Error code -2147221164 class not registered” appeared first on Sage 300 ERP – Tips, Tricks and Components.