{"id":1174,"date":"2013-02-27T10:35:11","date_gmt":"2013-02-27T10:35:11","guid":{"rendered":"http:\/\/techsupport.relyonsoft.in\/?p=1174"},"modified":"2014-04-23T09:50:27","modified_gmt":"2014-04-23T09:50:27","slug":"component-mscomct2-ocx-or-one-of-its-dependencies-not-correctly-registered-a-file-is-missing-or-invalid","status":"publish","type":"post","link":"https:\/\/relyonsoft.in\/techsupport\/component-mscomct2-ocx-or-one-of-its-dependencies-not-correctly-registered-a-file-is-missing-or-invalid\/","title":{"rendered":"Component \u2018MSCOMCT2.OCX\u2019 or one of its dependencies not correctly registered: a file is missing or invalid."},"content":{"rendered":"<p><strong>Error:<\/strong><\/p>\n<p>Run time error \u2018339\u2019:\u00a0Component MSCOMCT2.OCX\u00a0or one of its dependencies not correctly registered: a file is missing or invalid.<\/p>\n<p><strong><strong>Snapshot<\/strong>:<\/strong><\/p>\n<p><a href=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2013\/02\/untitled.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1176\" title=\"untitled\" src=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2013\/02\/untitled.jpg\" alt=\"\" width=\"488\" height=\"188\" srcset=\"https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2013\/02\/untitled.jpg 488w, https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2013\/02\/untitled-300x115.jpg 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Causes:<\/strong><\/p>\n<ul>\n<li>It depends on which ActiveX Component the program is trying to initiate. It&#8217;s possible that the program looking for its custom DLL\/OCX, that has been erased from the system.<\/li>\n<\/ul>\n<ul>\n<li>A DLL required by the object can&#8217;t be used, either because it can&#8217;t be found in the system, or it was found but it was corrupted.<\/li>\n<\/ul>\n<ul>\n<li>When you use Microsoft Access, you receive the this error message: A component [DLL\/OCX] related to MS-Access might be missing or corrupted.<\/li>\n<\/ul>\n<p><strong>Solution 1:\u00a0<\/strong><\/p>\n<ul>\n<li>Search for the MSCOMCT2.OCX\u00a0file in application folder if it is not found get it from different computer and paste into application\u00a0folder.<\/li>\n<\/ul>\n<ul>\n<li>If it is found Register it.<\/li>\n<\/ul>\n<ul>\n<li>Start &gt; Run &gt; type cmd<\/li>\n<\/ul>\n<ul>\n<li>In command prompt type<\/li>\n<\/ul>\n<ul>\n<li>Regsvr32 \u201cC:\\Windows\\System32\\MSCOMCT2.OCX\u201d<\/li>\n<\/ul>\n<ul>\n<li>Click Enter to Register.<\/li>\n<\/ul>\n<p><strong>Solution 2:\u00a0<\/strong><\/p>\n<p>Re-install the software. [Before un-installation take the backup of entire folder]<\/p>\n<ol>\n<li>Open control panel, click Add\\Remove Programs and uninstall the\u00a0software.<\/li>\n<li>Clean the application path.<\/li>\n<li>Re-Install the\u00a0software\u00a0And make sure that you are running the setup as Run as Administrator.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Error: Run time error \u2018339\u2019:\u00a0Component MSCOMCT2.OCX\u00a0or one of its dependencies not correctly registered: a file is missing or invalid. Snapshot: &nbsp; Causes: It depends on which ActiveX Component the program is trying to initiate. It&#8217;s possible that the program looking for its custom DLL\/OCX, that has been erased from the system. A DLL required by [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/1174"}],"collection":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/comments?post=1174"}],"version-history":[{"count":0,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/1174\/revisions"}],"wp:attachment":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/media?parent=1174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/categories?post=1174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/tags?post=1174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}