|
 |
asp_cdo thread: [beginning_asp] Error
Message #1 by Nereida petriti <nereidae@y...> on Tue, 26 Jun 2001 08:55:36 -0700 (PDT)
|
|
I have a problem:Why I find an error like this:class
not found when I run a code with a part like this
set mymail=server.createobject("CDONTS.Mail")
etc.I think the problem is in the server object.
Please give me an answer.
Nereida
Message #2 by "Beck, Michael" <MikeBeck@C...> on Tue, 26 Jun 2001 10:15:49 -0600
|
|
The problem is the Object call.
It should be set mymail=3Dserver.createobject("CDONTS.NewMail")
The NewMail is the class ID.
-----Original Message-----
From: Nereida petriti [mailto:nereidae@y...]
Sent: Tuesday, June 26, 2001 10:14 AM
To: ASP CDO
Subject: [asp_cdo] [beginning_asp] Error
I have a problem:Why I find an error like this:class
not found when I run a code with a part like this
set mymail=3Dserver.createobject("CDONTS.Mail")
etc.I think the problem is in the server object.
Please give me an answer.
Nereida
Message #3 by "Clint Parsley" <cparsley@e...> on Tue, 26 Jun 2001 09:10:36 -0700
|
|
try: set myMail = Server.CreateObject("CDONTS.NewMail")
you are using Server.CreateObject("CDONTS.Mail") instead this is an invalid
PROGID for our mail object
Clint
-----Original Message-----
From: Nereida petriti [mailto:nereidae@y...]
Sent: Tuesday, June 26, 2001 9:14 AM
To: ASP CDO
Subject: [asp_cdo] [beginning_asp] Error
I have a problem:Why I find an error like this:class
not found when I run a code with a part like this
set mymail=server.createobject("CDONTS.Mail")
etc.I think the problem is in the server object.
Please give me an answer.
Nereida
Message #4 by Eli Schilling <eschilli@t...> on Tue, 26 Jun 2001 09:18:59 -0700
|
|
Make sure you have CDO installed on your web server, otherwise it can't
create the object. Depending on your configuration you could just install
Outlook 2000 which comes with CDO 1.2 if you do a full install.
-Eli
-----Original Message-----
From: Nereida petriti [mailto:nereidae@y...]
Sent: Tuesday, June 26, 2001 9:14 AM
To: ASP CDO
Subject: [asp_cdo] [beginning_asp] Error
I have a problem:Why I find an error like this:class
not found when I run a code with a part like this
set mymail=server.createobject("CDONTS.Mail")
etc.I think the problem is in the server object.
Please give me an answer.
Nereida
|
|
 |