473,767 Members | 2,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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%2F2 003&time=10%3A3 6%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 the opinions
of any businesses, clubs, organizations, religious groups, unions,
associations, corporations, people, or small farm animals.)

--
Jul 19 '05 #1
6 7872
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*********@ho tmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP11.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%2F2 003&time=10%3A3 6%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 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***@TRASHasp faq.com> wrote in message
news:un******** *****@TK2MSFTNG P11.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*********@ho tmail.com> wrote in message
news:eU******** ******@TK2MSFTN GP11.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%2F2 003&time=10%3A3 6%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 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\mailro ot\pickup.

Ray at work
"Jon Montana" <jo*********@ho tmail.com> wrote in message
news:ei******** ******@TK2MSFTN GP12.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_sendmai l


"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:e0******** ******@tk2msftn gp13.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\mailro ot\pickup.

Ray at work
"Jon Montana" <jo*********@ho tmail.com> wrote in message
news:ei******** ******@TK2MSFTN GP12.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*********@ho tmail.com> wrote in message
news:eU******* *******@TK2MSFT NGP11.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%2F2 003&time=10%3A3 6% 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\picku p 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
3546
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 rest of the code setting objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its properties. Do I need to somehow set IIS5 to make objCDONTS.Send work?
7
2546
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 send the mail?? Thanks
8
3952
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 and if so, how can I send emails from ASP page... Many thanks in advance
6
4412
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 the IMC folder. They say to install IMS and set the pickup folder to the IMCDATA folder. The problem is that this was working just fine until yesterday. We reset the server yesterday and now all of a sudden the app cannot send email. Any idea...
5
2636
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 depending on member expiration dates. When the form is submitted, the code loops through the form contents and sends an email to those members that meet the selected criteria. All this worked perfectly when I was sending text emails, but since I
6
11184
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 will include the code I originally used. I understand I should switch from CDONTS to CDO mail but after several sttempts I am finding a very hard time getting the new CDO mail to work properly. Any assistance with this would be greatly...
2
9385
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 on how to do this using CDO. Unfortunately, I don't have that option. I must use C# and CDonts. Do you have any ideas or code? In traditional ASP, the code was: objMail = Server.CreateObject("CDONTS.NewMail"); objMail.To =...
1
1723
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 address that exists) The mails I try to send on the Windows 2000 server are moved into the mailroot/Badmail folder as spam.. so this would seem to be a built-in spam prevention tool that CDONTS employs. This would be fine, if it always worked,...
4
2070
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 form and creates a form.asp to mail and the one that takes that file and mails it, mail.asp. I believe I can figure out what needs to be altered in the code for the first form.asp but what needs to be changed in the one that sends the email? Is...
7
2889
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 functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8835
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.