{"id":181,"date":"2009-06-04T06:48:40","date_gmt":"2009-06-04T13:48:40","guid":{"rendered":"http:\/\/cknotes.com\/?p=181"},"modified":"2009-06-04T06:48:40","modified_gmt":"2009-06-04T13:48:40","slug":"invalid-class-string-invalid-progid","status":"publish","type":"post","link":"https:\/\/cknotes.com\/invalid-class-string-invalid-progid\/","title":{"rendered":"Invalid class string \/ Invalid ProgID"},"content":{"rendered":"<p>This note applies to the instantiation of ActiveX components (not .NET assemblies).<\/p>\n<p>If a call to CreateObject (VBScript) or Server.CreateObject (ASP) or sp_OACreate (SQL) fails with the following errors:<\/p>\n<p><strong>Invalid class string<\/strong><\/p>\n<p><strong>Invalid ProgID<\/strong><\/p>\n<p>It indicates that the ActiveX has not been registered via regsvr32 on the computer, or the registry permissions on the ProgID key prevent the object from being created.<\/p>\n<p>To register, open a MS-DOS command prompt and type:<\/p>\n<p><span style=\"font-family: Arial; font-size: x-small;\"><span style=\"font-family: Courier New;\">c:\\&gt;  <strong> regsvr32 c:\\path\\ChilkatSomething.dll <\/strong><\/span><\/span><\/p>\n<p>Where &#8220;ChilkatSomething.dll&#8221; is the filename of a Chilkat ActiveX DLL.<\/p>\n<p>The DLL may be located in any directory.\u00a0 (It does not need to be placed in Windows\\system32.)\u00a0 The important point is that once registered, the DLL&#8217;s physical location should not be changed.<\/p>\n<p>This error might also be the result of insufficient permissions for the ProgID registry key.\u00a0 If you know the component has been registered via regsvr32, run regedt32 and check the permissions on the HKEY_CLASSES_ROOT\\ProgID, where ProgID is a string such as &#8220;Chilkat.Ftp2&#8221; or &#8220;Chilkat.Ssh&#8221;.\u00a0 The full set of ProgID&#8217;s may be found here:\u00a0 <a title=\"ProgID for CreateObject\" href=\"href=&quot;http:\/\/www.chilkatsoft.com\/aspObjectCreation.asp\">Chilkat ProgID&#8217;s for CreateObject<\/a> Open the registry key, select Permissions from the Edit menu and grant the &#8220;Everyone&#8221; account full control.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This note applies to the instantiation of ActiveX components (not .NET assemblies). If a call to CreateObject (VBScript) or Server.CreateObject (ASP) or sp_OACreate (SQL) fails with the following errors: Invalid class string Invalid ProgID It indicates that the ActiveX has not been registered via regsvr32 on the computer, or the registry permissions on the ProgID [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[433,174,510],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-activex","tag-errors","tag-regsvr32"],"_links":{"self":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/181","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=181"}],"version-history":[{"count":0,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cknotes.com\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}