Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > "Object already exists" error when trying to send email

Reply
Thread Tools

"Object already exists" error when trying to send email

 
 
David
Guest
Posts: n/a
 
      10-01-2003
My email application was working a couple of weeks ago,
then all of a sudden I get

Error Type:
(0x8009000F)
Object already exists.

I checked the permissions on the machinekeys directory
like the KB article said it still doesn't work. Does
have any ideas?

Thanks,
David

I am using Windows 2000 server SP4.
Below is the code that I am using
<%
strFrom = ""
strTo = ""
strSubject = "Email Test"
strBody = "It must have worked"
set myCDONTSMail = CreateObject("CDONTS.NewMail")
myCDONTSMail.Send strFrom, strTo, strSubject, strBody
set myCDONTSMail = Nothing
%>
 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      10-01-2003
Are you sure that is the code in error? Is there a line number indicated?
One thing to try is to add SERVER. before CreateObject:

set myCDONTSMail = SERVER.CreateObject("CDONTS.NewMail")

Also, have a look at http://www.aspfaq.com/2119 and see the Windows XP
section. You should try to start using CDOSYS for e-mail instead of CDONTS.

Ray at work

"David" <> wrote in message
news:0bde01c38833$bb963980$...
> My email application was working a couple of weeks ago,
> then all of a sudden I get
>
> Error Type:
> (0x8009000F)
> Object already exists.
>
> I checked the permissions on the machinekeys directory
> like the KB article said it still doesn't work. Does
> have any ideas?
>
> Thanks,
> David
>
> I am using Windows 2000 server SP4.
> Below is the code that I am using
> <%
> strFrom = ""
> strTo = ""
> strSubject = "Email Test"
> strBody = "It must have worked"
> set myCDONTSMail = CreateObject("CDONTS.NewMail")
> myCDONTSMail.Send strFrom, strTo, strSubject, strBody
> set myCDONTSMail = Nothing
> %>



 
Reply With Quote
 
 
 
 
Bullschmidt
Guest
Posts: n/a
 
      10-02-2003
Perhaps try using a very simple e-mail page for testing. And if that
doesn't work, contact the Web host's tech support.

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to send an email Lars ASP .Net 1 03-05-2008 07:19 PM
Trying to send an email with attachments grooveska Ruby 0 05-31-2007 07:31 PM
Trying to send an email with attachments grooveska Ruby 0 05-31-2007 07:19 PM
Help with OutputStream.send() method. I want to know how much data this method already sent. Dalton Barreto Java 4 11-07-2006 12:08 PM
Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error JavaQueries Java 1 03-01-2005 06:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57