ActiveX component can't create object. 800A01A. How can I dig deeper into the Microsoft VBScript runtime error.

Posted on 2009-04-29
Last Modified: 2013-11-18
I'm having trouble creating an actixe component from a third party dll. The dll has COM Methods and Properties inside of it. (Found this out using Dllexp.exe)
The dll is registered in C:\WINNT\System32.
I know it's registered because I did a filemon when running a script to test it.

When I run this vbs script on my PC. I get the following error message...

ActiveX component can't create object
Microsoft VBScript runtime error

I ran regedit and filemon while registering the dll and everything says "SUCCESS" in the logs

I'm able to create other activex components on my PC. Example..
The filesystem object works okay in a vbs script, so I 'm able to create activex on my pc.

Here is the kicker. I can run the script below on another persons pc and it works fine.

How can I cave in and find out more information from the error I'm getting? I tried many times
unregistering and registering it again on my PC, but something is not right, and I don't think it's my wscript or the dll not being registered.

A real brain scratcher. Any  tools I can use to really dig deep into this activex error?

Additionally when I register the dll with regsvr32, I get "success" and it works on someone else's PC, but not on mine.
Dim objImagingAssist

Set objImagingAssist = CreateObject("ThirdParty.CopyImage")

Set objImagingAssist = Nothing


Open in new window

Question by:silentthread2k
    1 Comment

    Accepted Solution

    Spelling correction the error number is...... 800A01AD

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    This script will sweep a range of IP addresses (class c only, and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
    This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now