Link to home
Start Free TrialLog in
Avatar of lplim
lplim

asked on

ActiveX component can't create object

Hi,

   I'm having a problem to run an asp page in IIS server (intranet). The message I get "Microsoft VBScript runtime error '800a01ad'
     ActiveX component can't create object " .

   What is dll files used by this ActiveX component and do I need to install or register any dll file into my server ??
Any solution for this problem ??


Thanks.


Avatar of hongjun
hongjun
Flag of Singapore image

What component are you using? What web server are you using? It is because the component you are trying to use is not supported.

An example of this problem is when you are trying to use CDONTS NewMail in PWS. It will not have this problem when running on IIS.

hongjun
Another possibility is that the component you are trying to use is not installed or registered on the machine.

hongjun
ASKER CERTIFIED SOLUTION
Avatar of amit12345
amit12345

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amit12345
amit12345

If still it gives error then check what honqjin is saying
Welcome amit12345 :)

hongjun
does it give a line number for the error, if it does look at the line.

If it says something like:

Set obj = Server.CreateObject("something.somethingelse")

then it would seem that the DLL for that component is not registered.

Search the registry for "something.somethingelse" (or whatever it is in your case), when (if) you find it click in the directory called ProgID it will tell you the DLL that needs re-registering.

If you can't find it in the registry then the DLL might not have ever been registered.
To register the dll do something like this,
regsvr c:\your_dll.dll

hongjun
well "regsvr32 your.dll" to be precise but yeah that's how to do it
Oh made a mistake there. Pardon me. Humans do err.

hongjun
lpilm, any of this helping
Avatar of lplim

ASKER

After I have stopped and restarted my server and then opened the MTS to refresh my package. ... Now is back to normal.

Thanks a lot of help from amit12345, hongjun and Mattc....