{"id":2990,"date":"2024-10-09T08:59:11","date_gmt":"2024-10-09T15:59:11","guid":{"rendered":"https:\/\/cknotes.com\/?p=2990"},"modified":"2024-10-09T08:59:11","modified_gmt":"2024-10-09T15:59:11","slug":"error-code-800a01ad-trying-to-createobject-in-vbscript","status":"publish","type":"post","link":"https:\/\/cknotes.com\/error-code-800a01ad-trying-to-createobject-in-vbscript\/","title":{"rendered":"Error Code 800A01AD trying to CreateObject in VBScript"},"content":{"rendered":"<h3>Question:<\/h3>\n<p>I got the following error when trying to instantiate an ActiveX object in my VBScript (.vbs)<\/p>\n<blockquote><p><span style=\"color: #3b4045; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Adjusted', 'Segoe UI', 'Liberation Sans', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">Code &#8220;800A01AD&#8221;<\/span><br style=\"box-sizing: inherit; --theme-base-primary-color-h: 27; --theme-base-primary-color-s: 89%; --theme-base-primary-color-l: 48%; --theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9))); --theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75))); --theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5))); --theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l)); --theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3))); --theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6))); --theme-primary-custom: var(--theme-primary-custom-400); --theme-button-color: initial; --theme-button-hover-color: initial; --theme-button-hover-background-color: initial; --theme-button-active-background-color: initial; --theme-button-selected-color: initial; --theme-button-selected-background-color: initial; --theme-button-outlined-border-color: initial; --theme-button-outlined-selected-border-color: initial; --theme-button-primary-color: initial; --theme-button-primary-active-color: initial; --theme-button-primary-hover-color: initial; --theme-button-primary-selected-color: initial; --theme-button-primary-background-color: initial; --theme-button-primary-active-background-color: initial; --theme-button-primary-hover-background-color: initial; --theme-button-primary-selected-background-color: initial; --theme-background-color: var(--white); --theme-background-position: top left; --theme-background-repeat: repeat; --theme-background-size: auto; --theme-background-attachment: auto; --theme-content-background-color: var(--white); --theme-content-border-color: var(--black-225); --theme-header-background-color: var(--theme-primary); --theme-header-background-position: center left; --theme-header-background-repeat: repeat; --theme-header-background-size: auto; --theme-header-background-border-bottom: 0; --theme-header-link-color: var(--theme-primary); --theme-header-sponsored-color: hsla(0,0%,100%,0.4); --theme-header-foreground-color: transparent; --theme-header-foreground-position: bottom right; --theme-header-foreground-repeat: no-repeat; --theme-header-foreground-size: auto; --theme-footer-background-color: hsl(210,8%,5%); --theme-footer-background-position: top left; --theme-footer-background-repeat: no-repeat; --theme-footer-background-size: auto; --theme-footer-background-border-top: 0; --theme-footer-title-color: var(--black-250); --theme-footer-text-color: var(--black-300); --theme-footer-link-color: var(--black-300); --theme-footer-link-color-hover: var(--black-200); --theme-footer-divider-color: var(--black-500); --theme-footer-padding-top: 0; --theme-footer-padding-bottom: 0; --theme-link-color: initial; --theme-link-color-hover: initial; --theme-link-color-visited: initial; --theme-body-font-family: var(--ff-sans); --theme-body-font-color: var(--black-600); --theme-post-title-font-family: var(--ff-sans); --theme-post-title-color: var(--theme-link-color); --theme-post-title-color-hover: var(--theme-link-color-hover); --theme-post-title-color-visited: var(--theme-link-color-visited); --theme-post-body-font-family: var(--ff-sans); --theme-post-owner-background-color: var(--theme-secondary-100); --theme-post-owner-new-background-color: var(--theme-secondary-200); --theme-topbar-bottom-border: 1px solid var(--black-225); margin-bottom: 0px; color: #3b4045; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Adjusted', 'Segoe UI', 'Liberation Sans', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\" \/><span style=\"color: #3b4045; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Adjusted', 'Segoe UI', 'Liberation Sans', sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">Message &#8220;ActiveX component can&#8217;t create object: &#8216;Chilkat.Cert'&#8221;<\/span><\/p><\/blockquote>\n<h3>Answer:<\/h3>\n<p>It means the ActiveX is not registered.\u00a0 Yes, you probably registered the ActiveX, but you need to understand if your VBScript is running as a 32-bit process, or a 64-bit process.\u00a0 You then need to register the matching ActiveX (32-bit or 64-bit) to the correct registry (32-bit or 64-bit).<\/p>\n<ol>\n<li>You need to understand about <a href=\"https:\/\/cknotes.com\/how-to-run-32-bit-vs-64-bit-vbscript\/\">32-bit vs 64-bit VBScript<\/a>.<\/li>\n<li>You need to understand about the <a href=\"https:\/\/chilkatsoft.com\/activex_dll_registration_2.asp\">Windows 32-bit vs 64-bit Registries<\/a><\/li>\n<li>Download the <a href=\"https:\/\/www.chilkatsoft.com\/downloads_ActiveX.asp\">32-bit or 64-bit Chilkat ActiveX<\/a> and register to the correct registry.<\/li>\n<\/ol>\n<p>If you want to cover all your bases, simply download both 32-bit and 64-bit ActiveX&#8217;s and register each to its correct registry.\u00a0 Then your CreateObject statement will work regardless of whether it&#8217;s 32-bit or 64-bit.<\/p>\n<p>Also, you should realize there are both Current User and Local Machine registries (IIS would use Local Machine).\u00a0 When you register as administrator, your registering to the local machine registry.<\/p>\n<p>Thus, there are a total of <a href=\"https:\/\/chilkatsoft.com\/activex_dll_registration_3.asp\">4 Windows Registries for ActiveX Registration<\/a>.<\/p>\n<p>It might be a good idea to just take 10 minutes to read the <a href=\"https:\/\/chilkatsoft.com\/activex_dll_registration_1.asp\">ActiveX Registration Tutorial<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: I got the following error when trying to instantiate an ActiveX object in my VBScript (.vbs) Code &#8220;800A01AD&#8221;Message &#8220;ActiveX component can&#8217;t create object: &#8216;Chilkat.Cert&#8217;&#8221; Answer: It means the ActiveX is not registered.\u00a0 Yes, you probably registered the ActiveX, but you need to understand if your VBScript is running as a 32-bit process, or a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[797,755],"tags":[1054,433,233],"class_list":["post-2990","post","type-post","status-publish","format-standard","hentry","category-activex-errors","category-activex-registration","tag-800a01ad","tag-activex","tag-register"],"_links":{"self":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/2990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/comments?post=2990"}],"version-history":[{"count":1,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/2990\/revisions"}],"predecessor-version":[{"id":2991,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/2990\/revisions\/2991"}],"wp:attachment":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/media?parent=2990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/categories?post=2990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/tags?post=2990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}