Invalid Class String

April 25, 2002 by stephen deere
Yes I have got this same error on windows NT server (option pack 4.0) I' moved the files to another server running windows 2000 and its working, so its not the script. Are you able to point me in the right direct as to correcting the problem. I obviously need to check the components installed plus install the needed one - how?

RE: Invalid Class String

April 25, 2002 by Joel Martinez
well, lets start with this... What are you trying to instantiate?
Chances are it's some kind of mail, upload, or xml component that hasn't been installed on that server.  You need to get in contact with the administrator of the box to install whatever you're trying to call

RE: RE: Invalid Class String

May 6, 2004 by Larry Rodbard

I am running windows XP Pro with IIS and am testing my website locally.

The error message is

Technical Information (for support personnel)

  • Error Type:
    Server object, ASP 0177 (0x800401F3)
    Invalid class string
    /rodbard/sendmail_tenrox_B.asp, line 111
  • Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
  • Page:
    POST 702 bytes to /rodbard/sendmail_tenrox_B.asp
  • POST Data:
    FirstName=larry&LastName=rodbard&Title=president&Company=rodbard+%26+Associates&Address=723+Pleasant+Hill+Road&Address2=&City=Ellicott+City&state=MD&Zip=21043&Country=&E-mail=lsr@rodbard.com&website=w . . .
  • Time:
    Thursday, May 06, 2004, 1:46:43 PM
  • More information:
    Microsoft Support

I have checked the code against the sample on this website (from Martha Graham) and mine matches.

  Dim objCDO

Dim  from,  mailto,  Subject, Body, redirect_url

redirect_url = "tenrox_thanks.asp?pdf_file=" & Request("pdf_file")
MailTo = "tenrox@rodbard.com"
Subject = "Tenrox Registration Form - " & Request("BrochureRequested")
From = Request("E-mail")

Set objCDO = Server.CreateObject("CDONTS.NewMail")

  objCDO.To   = MailTo
  objCDO.From = From

    objCDO.Subject= Subject

    objCDO.Body = Body

  objCDO.Send

  'Cleanup
  Set objCDO = Nothing

Response.Redirect(redirect_url)

I would appreciate any help you can give.

Thanks,

Larry Rodbard