Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

>ERROR when I tried to use the Send method of CDO!!

Status
Not open for further replies.

JoJoH

Programmer
Jan 29, 2003
356
US
Hi,

I got this error when I tried to use the Send method of CDO:

error '8009000f'
Object already exists.


Please advice.

Thanks in advance
 
I had this problem before and it had to do with permissions. You need to change the permissions to the Machinekeys folder and to the keys to allow the Administrators group and System account to have full control. I don't remember exactly how to do it, but you should be able to find details at support.microsoft.com.

Hope this helps!
 
Hi Khazmir,

Here is the part that is causing me that error. The bolded red line is the error line. I have took out the irrelevant codes to make things easier to read. Please advice.
Thanks in advance.


Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = strTo
objCDO.From = strFrom

objCDO.Subject = strSubject
objCDO.Body = strBody

objCDO.Send

Set objCDO = Nothing
 
You code looks perfect to me. Try testing your page on a different server. Also, post your question to the Microsoft Active Server Pages (ASP) Forum; maybe someone there can help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top