472,096 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

CDONTS Send- Permission Denied

CDONTS was working well until I installed Exchange 2000. I thought it might
be a relay problem, but I allowed the server IP address to relay.

Thanks for anything you can offer.

here's the error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

----------------------------------------------------------------------------
----

Technical Information (for support personnel)

a.. Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/mail/mail.asp, line 40
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

c.. Page:
POST 68 bytes to /mail/mail.asp

d.. POST Data:
ip=61.210.1.47&date=11%2F7%2F2003&time=10%3A36%3A1 2+AM&login=&body=

--
(DISCLAIMER: The preceding message reflects the opinion of only 1 out of
billions of Internet and Newsgroup users. It does not reflect the opinions
of any businesses, clubs, organizations, religious groups, unions,
associations, corporations, people, or small farm animals.)

--
Jul 19 '05 #1
6 7736
Exchange 2000 is on the same machine? Have you tried using CDO.Message
instead (two benefits: you can switch between pickup (local SMTP service)
and port (any SMTP server on the internet or within your network), and it's
not deprecated like CDONTS). See http://www.aspfaq.com/2026 for better code
samples.


"Jon Montana" <jo*********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
CDONTS was working well until I installed Exchange 2000. I thought it might be a relay problem, but I allowed the server IP address to relay.

Thanks for anything you can offer.

here's the error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

-------------------------------------------------------------------------- -- ----

Technical Information (for support personnel)

a.. Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/mail/mail.asp, line 40
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

c.. Page:
POST 68 bytes to /mail/mail.asp

d.. POST Data:
ip=61.210.1.47&date=11%2F7%2F2003&time=10%3A36%3A1 2+AM&login=&body=

--
(DISCLAIMER: The preceding message reflects the opinion of only 1 out of
billions of Internet and Newsgroup users. It does not reflect the opinions of any businesses, clubs, organizations, religious groups, unions,
associations, corporations, people, or small farm animals.)

--

Jul 19 '05 #2
I'll give it a shot...was trying to avoid rewriting my scripts, but what the
heck...I guess I would eventually have to anyway.

Thanks.

--
(DISCLAIMER: The preceding message reflects the opinion of only 1 out of
billions of Internet and Newsgroup users. It does not reflect the opinions
of any businesses, clubs, organizations, religious groups, unions,
associations, corporations, people, or small farm animals.)

--
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Exchange 2000 is on the same machine? Have you tried using CDO.Message
instead (two benefits: you can switch between pickup (local SMTP service)
and port (any SMTP server on the internet or within your network), and it's not deprecated like CDONTS). See http://www.aspfaq.com/2026 for better code samples.


"Jon Montana" <jo*********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
CDONTS was working well until I installed Exchange 2000. I thought it

might
be a relay problem, but I allowed the server IP address to relay.

Thanks for anything you can offer.

here's the error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services


--------------------------------------------------------------------------
--
----

Technical Information (for support personnel)

a.. Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/mail/mail.asp, line 40
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

c.. Page:
POST 68 bytes to /mail/mail.asp

d.. POST Data:
ip=61.210.1.47&date=11%2F7%2F2003&time=10%3A36%3A1 2+AM&login=&body=

--
(DISCLAIMER: The preceding message reflects the opinion of only 1 out of billions of Internet and Newsgroup users. It does not reflect the

opinions
of any businesses, clubs, organizations, religious groups, unions,
associations, corporations, people, or small farm animals.)

--


Jul 19 '05 #3
Yeah, it's not that bad to do. The one thing that you could consider is
writing your own e-mail sub for basic e-mailing, and then you'd only have to
worry about updating that if you ever have to use a different component.

Sub MailaMessage(To, CC, BCC, Subject, Body)
'''code to create cdo.message and send e-mail

End Sub

As far as the error that you're getting, make sure that IUSR has permission
to write files to \inetpub\mailroot\pickup.

Ray at work
"Jon Montana" <jo*********@hotmail.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'll give it a shot...was trying to avoid rewriting my scripts, but what the heck...I guess I would eventually have to anyway.

Thanks.

--

Jul 19 '05 #4
I do the same thing in SQL Server...

CREATE PROCEDURE dbo.sendmail
@stuff
AS
-- code for current mail implementation
-- currently xp_smtp_sendmail


"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
Yeah, it's not that bad to do. The one thing that you could consider is
writing your own e-mail sub for basic e-mailing, and then you'd only have to worry about updating that if you ever have to use a different component.

Sub MailaMessage(To, CC, BCC, Subject, Body)
'''code to create cdo.message and send e-mail

End Sub

As far as the error that you're getting, make sure that IUSR has permission to write files to \inetpub\mailroot\pickup.

Ray at work
"Jon Montana" <jo*********@hotmail.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'll give it a shot...was trying to avoid rewriting my scripts, but what

the
heck...I guess I would eventually have to anyway.

Thanks.

--


Jul 19 '05 #5
I was getting 800a0046 permission denied on CDONTS send.
Followed the below advice to convert to CDO. Found some
simple example code at
http://www.codeproject.com/asp/cdoex.asp Result was that
my '800a0046 permission denied' message went away, but was
replaced with '80070005 Access is denied'. Eventual cure
was to give the Everyone account all permissions on the
mailroot folder.
-----Original Message-----
Exchange 2000 is on the same machine? Have you tried using CDO.Messageinstead (two benefits: you can switch between pickup (local SMTP service)and port (any SMTP server on the internet or within your network), and it'snot deprecated like CDONTS). See http://www.aspfaq.com/2026 for better codesamples.


"Jon Montana" <jo*********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP11.phx.gbl...
CDONTS was working well until I installed Exchange 2000. I thought it
might
be a relay problem, but I allowed the server IP address
to relay.
Thanks for anything you can offer.

here's the error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

-------------------------------------------------------- --------------------
----

Technical Information (for support personnel)

a.. Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/mail/mail.asp, line 40
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.0; .NET CLR 1.1.4322)
c.. Page:
POST 68 bytes to /mail/mail.asp

d.. POST Data:
ip=61.210.1.47&date=11%2F7%2F2003&time=10%3A36% 3A12+AM&login=&body=
--
(DISCLAIMER: The preceding message reflects the opinion of only 1 out of billions of Internet and Newsgroup users. It does not reflect theopinions
of any businesses, clubs, organizations, religious

groups, unions, associations, corporations, people, or small farm animals.)
--

.

Jul 19 '05 #6

"Rita Charlesworth" <ri********@aol.com> wrote in message
news:02****************************@phx.gbl...
I was getting 800a0046 permission denied on CDONTS send.
Followed the below advice to convert to CDO. Found some
simple example code at
http://www.codeproject.com/asp/cdoex.asp Result was that
my '800a0046 permission denied' message went away, but was
replaced with '80070005 Access is denied'. Eventual cure
was to give the Everyone account all permissions on the
mailroot folder.


Or give IUSR write permissions to \mailroot\pickup only.

Ray at home
Jul 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mario Leduc | last post: by
6 posts views Thread by kelsloris | last post: by
2 posts views Thread by microsoft.public.dotnet.languages.csharp | last post: by
1 post views Thread by Stimp | last post: by
4 posts views Thread by Dr. Harvey Waxman | last post: by
7 posts views Thread by Paul | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.