{"id":32331,"date":"2023-03-14T15:07:10","date_gmt":"2023-03-14T15:07:10","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/?p=32331"},"modified":"2024-05-14T09:43:12","modified_gmt":"2024-05-14T09:43:12","slug":"possible-cause-for-issue-error-code-2147221164-class-not-registered","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/","title":{"rendered":"Possible cause for issue: &#8220;Error code -2147221164 class not registered&#8221;"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p>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 <strong>\u201cError code: -2147221164 Class not registered\u201d.<\/strong><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\" alt=\"Image 1\"><\/a><\/center>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>So below solution might help to resolve the scenario:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The DLL used for a project needs to be rechecked it has been taken from a proper path and it is validated.<\/li><li>Sometimes we had taken a DLL proper but then also we face an issue because it is not properly built.<\/li><li>It might require rebuild to the .NET assembly i.e. DLL which is used for a customized project.<\/li><li>Then need to create codebase \u201c.tlb\u201d file from the same and need to register that \u201c.DLL\u201d at proper location.<\/li><li>Reopen the sage and now you will be able to open a customized screen without error.<\/li><\/ul>\n\n\n\n<p>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.<\/p>\n\n\n\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Greytrix<\/a>&nbsp;&#8211; a globally recognized and one of the oldest Sage Development Partners 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.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0offers unique <a href=\"https:\/\/www.greytrix.com\/gumu\/connectors\/\">GUMU&#x2122;<\/a> integrated solutions of\u00a0\u00a0<a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 <\/a>with Sage CRM,\u00a0Salesforce(listed on Salesforce Appexchange), Dynamics 365 CRM, and\u00a0Magento eCommerce,\u00a0along with Sage 300 Migration from\u00a0<a href=\"https:\/\/www.greytrix.com\/sage-300-erp\/\">Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business <\/a><a href=\"https:\/\/www.greytrix.com\/resources\/sage-erp-crm-migration.pdf\">Works<\/a>. We also offer best-in-class\u00a0Sage 300 customization and development services\u00a0and integration services for applications such as\u00a0<a href=\"https:\/\/www.greytrix.com\/sage-300-erp\/\">POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP<\/a>\u00a0and 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. <\/p>\n\n\n\n<p>Greytrix offers 20+ add-ons for Sage 300 to enhance productivity such as\u00a0GreyMatrix,\u00a0Document Attachment,\u00a0Document Numbering,\u00a0Auto-Bank Reconciliation,\u00a0Purchase Approval System,\u00a0Three-way PO matching,\u00a0Bill of Lading,\u00a0and\u00a0VAT for the Middle East. The GUMU&#x2122; integration for Dynamics 365 CRM \u2013 Sage ERP is listed on Microsoft Appsource with an easy implementation package. <\/p>\n\n\n\n<p>The GUMU&#x2122; 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. <\/p><p>For more details on Sage 300 and Sage 300c Services, please contact us at&nbsp;<a href=\"mailto:accpac@greytrix.com\">accpac@greytrix.com<\/a>, We will like to hear from you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4038,273,462,891,1763,2202,2357],"class_list":["post-32331","post","type-post","status-publish","format-standard","hentry","category-sage-accpac","tag-4038","tag-assembly","tag-classes","tag-error","tag-ocx","tag-register","tag-sage-300-erp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Possible cause for issue: &quot;Error code -2147221164 class not registered&quot; - Sage 300 ERP \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Possible cause for issue: &quot;Error code -2147221164 class not registered&quot; - Sage 300 ERP \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"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\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage 300 ERP \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-14T15:07:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-14T09:43:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\" \/>\n<meta name=\"author\" content=\"Greytrix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Greytrix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\",\"name\":\"Possible cause for issue: \\\"Error code -2147221164 class not registered\\\" - Sage 300 ERP \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\",\"datePublished\":\"2023-03-14T15:07:10+00:00\",\"dateModified\":\"2024-05-14T09:43:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/93977cd8aa8fbd1f151d3f664e29c9f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\",\"contentUrl\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Possible cause for issue: &#8220;Error code -2147221164 class not registered&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/\",\"name\":\"Sage 300 ERP \u2013 Tips, Tricks and Components\",\"description\":\"Explore the world of Sage 300 with our insightful blogs, expert tips, and the latest updates. We\u2019ll empower you to leverage Sage 300 to its fullest potential. As your one-stop partner, Greytrix delivers exceptional solutions and integrations for Sage 300. Our blogs extend our support to businesses, covering the latest insights and trends. Dive in and transform your Sage 300 experience with us! \",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/93977cd8aa8fbd1f151d3f664e29c9f2\",\"name\":\"Greytrix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g\",\"caption\":\"Greytrix\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/author\/greytrix\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Possible cause for issue: \"Error code -2147221164 class not registered\" - Sage 300 ERP \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/","og_locale":"en_US","og_type":"article","og_title":"Possible cause for issue: \"Error code -2147221164 class not registered\" - Sage 300 ERP \u2013 Tips, Tricks and Components","og_description":"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\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/","og_site_name":"Sage 300 ERP \u2013 Tips, Tricks and Components","article_published_time":"2023-03-14T15:07:10+00:00","article_modified_time":"2024-05-14T09:43:12+00:00","og_image":[{"url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg","type":"","width":"","height":""}],"author":"Greytrix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Greytrix","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/","url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/","name":"Possible cause for issue: \"Error code -2147221164 class not registered\" - Sage 300 ERP \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage"},"thumbnailUrl":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg","datePublished":"2023-03-14T15:07:10+00:00","dateModified":"2024-05-14T09:43:12+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/93977cd8aa8fbd1f151d3f664e29c9f2"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#primaryimage","url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg","contentUrl":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2023\/03\/Image-1.jpeg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/2023\/03\/14\/possible-cause-for-issue-error-code-2147221164-class-not-registered\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/"},{"@type":"ListItem","position":2,"name":"Possible cause for issue: &#8220;Error code -2147221164 class not registered&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/","name":"Sage 300 ERP \u2013 Tips, Tricks and Components","description":"Explore the world of Sage 300 with our insightful blogs, expert tips, and the latest updates. We\u2019ll empower you to leverage Sage 300 to its fullest potential. As your one-stop partner, Greytrix delivers exceptional solutions and integrations for Sage 300. Our blogs extend our support to businesses, covering the latest insights and trends. Dive in and transform your Sage 300 experience with us! ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/93977cd8aa8fbd1f151d3f664e29c9f2","name":"Greytrix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3cdb553d6ca07df0e407d5e092f2410d163e0fd40b27734b345b04c8f0786969?s=96&d=mm&r=g","caption":"Greytrix"},"url":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/author\/greytrix\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/posts\/32331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/comments?post=32331"}],"version-history":[{"count":1,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/posts\/32331\/revisions"}],"predecessor-version":[{"id":32337,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/posts\/32331\/revisions\/32337"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/media?parent=32331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/categories?post=32331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-json\/wp\/v2\/tags?post=32331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}