473,324 Members | 2,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 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 7839
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the...
7
by: Mario Leduc | last post by:
Hi, I have a page that sends user comments with CDONTS, works fine. Until I put a URL (http://192.168.0.1). If I use http://domain.com it works fine. Why with the numeric URL, CDONTS does not...
8
by: Boris | last post by:
Could someone please tell me if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server...
6
by: kelsloris | last post by:
I have an asp app that uses CDONTS to send email notifications. On the .send method I get an error saying the specified path could not be found. Everything I find about this error refers to IMS and...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
2
by: microsoft.public.dotnet.languages.csharp | last post by:
ASP.Net, C#, Email message, CDonts not CDO I am writing an ASP.Net application where I cannot use CDO. I must use CDonts. I cannot find an example of this on the Internet. I only see examples...
1
by: Stimp | last post by:
I'm trying to send a mail using CDONTS with a .FROM email address that doesn't exist (like bob@nowhere.com), but it won't send the mail unless I put a valid .FROM email address (i.e. of an email...
4
by: Dr. Harvey Waxman | last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I hope you forgive this basic question. There are two asp files for handling mail, the one that gets the info from a...
7
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.