login about faq

I cannot create an instance of the Chilkat ActiveX in my ASP script:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/test/test.asp, line 7

asked Oct 10 '12 at 10:18

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


1) Make sure you know whether your IIS worker processes are running as 32-bit processes or 64-bit processes. Just because IIS is running on a 64-bit server does not mean they are running as 64-bit processes. A 32-bit process must load a 32-bit DLL, and a 64-bit process must load a 64-bit DLL. ActiveX registration simply maps a name in the registry to the location of the file in the filesystem. A 64-bit Windows system has two completely separate registries -- a 32-bit registry and a 64-bit registry. If a 32-bit process calls CreateObject to instantiate an ActiveX, it is looking in the 32-bit registry to find the path of the DLL indicated by the name (such as CreateObject("Chilkat.Xml")). If a 64-bit process calls CreateObject, it is looking in the 64-bit registry.

2) See this Chilkat blog post for detailed instructions about how to register an ActiveX DLL. This applies not only to Chilkat ActiveX's, but to any ActiveX DLL.

http://www.cknotes.com/?p=361

3) If you don't know if your IIS process is 32-bit or 64-bit, then download and register both the 32-bit and 64-bit ActiveX's. This is OK to do because there are separate 32-bit and 64-bit registries.

4) Don't f**k up the ActiveX registration -- meaning, don't register the 64-bit DLL in the 32-bit registry, or the reverse -- the 32-bit DLL in the 64-bit registry.

5) Make sure you're registering the ActiveX DLL's on the web server if your server-side ASP script is to be creating the object instances.

link

answered Oct 10 '12 at 10:29

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Also, don't put the ActiveX DLL on a remote filesystem accessed via a UNC path. You're likely to run into permissions/trust issues...

(Oct 10 '12 at 10:34) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×96
×10
×7
×6
×3

Asked: Oct 10 '12 at 10:18

Seen: 8,870 times

Last updated: Oct 10 '12 at 10:34

powered by OSQA