asp error -- would someone please translate into english?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

"Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/form_test.asp, line 168

Invalid class string"

Line 168 is this:

'instantiate object
Set oMail = Server.CreateObject("CDONTS.Newmail")

So I am thinking, logically, that either I've screwed something up, or the mailing bit of the server isn't in place.

Would someone please let me know which is the case, and if the latter, precisely what information I need to send to the sysadmin to get this [insert cranky sounding nonsense words here] form to work?

Thank you, thank you, thank you.

Smiling Suzanne

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

only thing I can see...
try this :
Server.CreateObject("CDONTS.NewMail")

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

So, from that I feel good that I haven't managed to screw things up horribly, so it must be that the mail object is not installed on the server.

Drat, drat, triple drat.

Thanks, Max, I wish that was it, but it wasn't. Shoot.

I wish I knew what the heck I was talking about. Anyone know what I should tell the sysadmin?!

::S

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Suzanne,

Sounds like SMTP server isn't installed on your IIS installation.

Regards,
Peter J. Boettcher

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Thank you, Peter, once again!

I am passing on this information to the SysAdmin, and will hopefully be able to get this up to speed. I don't normally have the pleasure of trying to write in languages I don't know, on platforms I don't know. This crash course in the profit side of the web is much appreciated.

I the meantime, I have set it up so the form is processed through my own cgi-bin, so it's working. I am very relieved that it's not my own blind fumbling that has it not working.

I did test the form on an NT server and it worked, but alas, not on THIS server.

Again, thank you so much, it's very helpful to know what the right words are.

Smiling Suzanne

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.