Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Strange CDO problems


Message #1 by Sam Clohesy <sam@e...> on Thu, 30 Aug 2001 10:09:39 +0100
Hi all I am getting strange CDO problems, i rebooted the server last night

and now the our mail applications are'nt working:



When I attempt to run a test page:



<%

Set objMail = CreateObject("CDONTS.NewMail")

objMail.From = "davej@e..."

objMail.CC="samc@e..."

objMail.bCC="davej@e..."

objMail.To = "davej@e..."

objMail.Subject ="Test eMail"

objMail.body="This is a test"

objMail.Send 'line 9

set objMail=nothing

%>



I get this message:



Microsoft VBScript runtime error '800a0046' 



Permission denied 



/test_email/test_email.asp, line 9 



I have checked the SMTP site and permissions are the same as before (I

think) any suggestion..



Many thanks



Sam

Message #2 by "Hema R." <hema.r@s...> on Thu, 30 Aug 2001 15:12:21 +0530
Did u use server.createobject or just createobject??



> -----Original Message-----

> From:	Sam Clohesy [SMTP:sam@e...]

> Sent:	30 August Thursday 2001 02:10 AM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Strange CDO problems

> 

> Hi all I am getting strange CDO problems, i rebooted the server last night

> and now the our mail applications are'nt working:

> 

> When I attempt to run a test page:

> 

> <%

> Set objMail = CreateObject("CDONTS.NewMail")

> objMail.From = "davej@e..."

> objMail.CC="samc@e..."

> objMail.bCC="davej@e..."

> objMail.To = "davej@e..."

> objMail.Subject ="Test eMail"

> objMail.body="This is a test"

> objMail.Send 'line 9

> set objMail=nothing

> %>

> 

> I get this message:

> 

> Microsoft VBScript runtime error '800a0046' 

> 

> Permission denied 

> 

> /test_email/test_email.asp, line 9 

> 

> I have checked the SMTP site and permissions are the same as before (I

> think) any suggestion..

> 

> Many thanks

> 

> Sam
Message #3 by Sam Clohesy <sam@e...> on Thu, 30 Aug 2001 10:49:06 +0100
Hi, does'nt matter what I use I still get the same error..



Thanks

Sam



-----Original Message-----

From: Hema R. [mailto:hema.r@s...]

Sent: 30 August 2001 10:42

To: ASP Web HowTo

Subject: [asp_web_howto] RE: Strange CDO problems





Did u use server.createobject or just createobject??



> -----Original Message-----

> From:	Sam Clohesy [SMTP:sam@e...]

> Sent:	30 August Thursday 2001 02:10 AM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Strange CDO problems

> 

> Hi all I am getting strange CDO problems, i rebooted the server last night

> and now the our mail applications are'nt working:

> 

> When I attempt to run a test page:

> 

> <%

> Set objMail = CreateObject("CDONTS.NewMail")

> objMail.From = "davej@e..."

> objMail.CC="samc@e..."

> objMail.bCC="davej@e..."

> objMail.To = "davej@e..."

> objMail.Subject ="Test eMail"

> objMail.body="This is a test"

> objMail.Send 'line 9

> set objMail=nothing

> %>

> 

> I get this message:

> 

> Microsoft VBScript runtime error '800a0046' 

> 

> Permission denied 

> 

> /test_email/test_email.asp, line 9 

> 

> I have checked the SMTP site and permissions are the same as before (I

> think) any suggestion..

> 

> Many thanks

> 

> Sam

Message #4 by "Hema R." <hema.r@s...> on Thu, 30 Aug 2001 16:54:49 +0530
hi,



I got this from MSDn.See if it helps



This behavior can occur if the anonymous user account is not 

granted at least CHANGE permissions to the SMTP mail server folders. 

Why dont u give full access on the mailroot folders and ll its subfolders..



Hema



> -----Original Message-----

> From: Sam Clohesy [SMTP:sam@e...]

> Sent: 30 August Thursday 2001 02:49 AM

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Strange CDO problems

> 

> Hi, does'nt matter what I use I still get the same error..

> 

> Thanks

> Sam

> 

> -----Original Message-----

> From: Hema R. [mailto:hema.r@s...]

> Sent: 30 August 2001 10:42

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Strange CDO problems

> 

> 

> Did u use server.createobject or just createobject??

> 

> > -----Original Message-----

> > From: Sam Clohesy [SMTP:sam@e...]

> > Sent: 30 August Thursday 2001 02:10 AM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] Strange CDO problems

> > 

> > Hi all I am getting strange CDO problems, i rebooted the server last

> night

> > and now the our mail applications are'nt working:

> > 

> > When I attempt to run a test page:

> > 

> > <%

> > Set objMail = CreateObject("CDONTS.NewMail")

> > objMail.From = "davej@e..."

> > objMail.CC="samc@e..."

> > objMail.bCC="davej@e..."

> > objMail.To = "davej@e..."

> > objMail.Subject ="Test eMail"

> > objMail.body="This is a test"

> > objMail.Send 'line 9

> > set objMail=nothing

> > %>

> > 

> > I get this message:

> > 

> > Microsoft VBScript runtime error '800a0046' 

> > 

> > Permission denied 

> > 

> > /test_email/test_email.asp, line 9 

> > 

> > I have checked the SMTP site and permissions are the same as before (I

> > think) any suggestion..

> > 

> > Many thanks

> > 

> > Sam

> 

Message #5 by Sam Clohesy <sam@e...> on Thu, 30 Aug 2001 12:31:37 +0100
Hi Hema, I found this article and made the changes MS suggest and everything

seems to be running fine now



http://support.microsoft.com/support/kb/articles/Q197/6/19.ASP



Thanks 



Sam



-----Original Message-----

From: Hema R. [mailto:hema.r@s...]

Sent: 30 August 2001 12:25

To: ASP Web HowTo

Subject: [asp_web_howto] RE: Strange CDO problems





hi,



I got this from MSDn.See if it helps



This behavior can occur if the anonymous user account is not 

granted at least CHANGE permissions to the SMTP mail server folders. 

Why dont u give full access on the mailroot folders and ll its subfolders..



Hema



> -----Original Message-----

> From: Sam Clohesy [SMTP:sam@e...]

> Sent: 30 August Thursday 2001 02:49 AM

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Strange CDO problems

> 

> Hi, does'nt matter what I use I still get the same error..

> 

> Thanks

> Sam

> 

> -----Original Message-----

> From: Hema R. [mailto:hema.r@s...]

> Sent: 30 August 2001 10:42

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Strange CDO problems

> 

> 

> Did u use server.createobject or just createobject??

> 

> > -----Original Message-----

> > From: Sam Clohesy [SMTP:sam@e...]

> > Sent: 30 August Thursday 2001 02:10 AM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] Strange CDO problems

> > 

> > Hi all I am getting strange CDO problems, i rebooted the server last

> night

> > and now the our mail applications are'nt working:

> > 

> > When I attempt to run a test page:

> > 

> > <%

> > Set objMail = CreateObject("CDONTS.NewMail")

> > objMail.From = "davej@e..."

> > objMail.CC="samc@e..."

> > objMail.bCC="davej@e..."

> > objMail.To = "davej@e..."

> > objMail.Subject ="Test eMail"

> > objMail.body="This is a test"

> > objMail.Send 'line 9

> > set objMail=nothing

> > %>

> > 

> > I get this message:

> > 

> > Microsoft VBScript runtime error '800a0046' 

> > 

> > Permission denied 

> > 

> > /test_email/test_email.asp, line 9 

> > 

> > I have checked the SMTP site and permissions are the same as before (I

> > think) any suggestion..

> > 

> > Many thanks

> > 

> > Sam

  Return to Index