Software Components Home

Server object: ASP Server.CreateObject Failed, Invalid class string

Back

Question:
I have downloaded Chilkat Email ActiveX and run the installer. If I understand correctly the install should register the DLL when run.

However I am getting this error when I try and run one of your examples:

Server object: 006~ASP 0177~Server.CreateObject Failed~Invalid class string

Can you tell me what is causing this?

This is the example I am trying to run in my ASP page.


        ' Create a mailman
        set mailman = Server.CreateObject("ChilkatWebMail2.WebMailMan2")
'--- Error occurs here

Answer:
You downloaded Chilkat Mail, and not Chilkat WebMail (a.k.a. Chilkat ASP Mail).
Try downloading the WebMail ActiveX from: ASP Mail Component

A few notes:
(1) The CreateObject strings can be found here:
http://www.chilkatsoft.com/aspObjectCreation.asp

(2) The Chilkat Mail ActiveX is almost identical to Chilkat WebMail. Both are included in a license purchase.

There is no source code associated with this article.