473,396 Members | 2,003 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,396 software developers and data experts.

Access Is Denied error when using CDO.Message.Send

Carrugar
I'm running IIS 6.0 on a Win2003 server. One web page is trying to use the new CDO method of sending e-mail but generates the following error:

CDO.Message.1 error '80070005'

Access is denied.


Code:

<%
Dim objMail
set objMail = Server.CreateObject("CDO.Message")
objMail.From = "......"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "......"
objMail.TextBody = "Hello World"
objMail.Send
set objMail = nothing
%>

The error occurs when the objMail.Send line is invoked.

The mail does not get copied to the /Inetpub/mailroot/Pickup directory but as far as I can see, all permissions are set ok.

Is there a process prior to copying the email to the "Pickup" directory which may be causing the issue?

Many thanks in advance for any help.
Dec 10 '07 #1
6 4457
check out the configuration details....please tel the configuration deatils like port value,so that we can pin point the error easily.

thanks
venki
Dec 11 '07 #2
How do you check the port value? Can this be shown from the CDO.Configuration object?
Dec 11 '07 #3
Also noticed that this message occurs only in IIS 6.0 Worker Process Mode.

If I change to IIS 5.0 Isolation Mode (Low), the email is sent ok!

If I set the Isolation Mode to Medium or High, the following message is given:

'The "SendUsing" configuration value is invalid.'

Low Isolation mode means that IIS runs in the inetinfo process. I think that Medium and High Modes use dllhost to run the app. In IIS 6.0 w3wp is used. How do these different processes affect how emails are being sent and the restrictions given?!
Dec 11 '07 #4
Default Port of 25 is being used.
Dec 11 '07 #5
jhardman
3,406 Expert 2GB
Default Port of 25 is being used.
An IIS expert recommends "changing from default application pool". I'm not sure I know what that means.

Jared
Dec 13 '07 #6
tdphan
1
Setting IIS for the website.Choose name of virtual directory.Right-Click and choose property. in Vitual Directory tab, at application pool select "Exchange Application Pool".
tdphan
Dec 17 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
2
by: Brent Burkart | last post by:
I am trying to send an email using SMTP server through IIS. I am recieving the following error. Access is denied. Description: An unhandled exception occurred during the execution of the...
0
by: Erwan | last post by:
I have a strange (but very blocking) result when using the smtpmail class from an ASPX page : here is the (very simple !) code... '-------------------------------------------------- mail.To =...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
1
by: Microsoft News | last post by:
I have a web server sitting on computer 1, (QA1). Out on the network on my main server I have a folder with a zip file in it. All I want is for the web services that are on the web server to pick...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
4
by: Bruce | last post by:
I am developing an ASP.NET web service application. It works fine on my WinXP Prof development machine. But when I send it to a Windows Server 2003 system I get the following error (attached...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
0
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I'm using System.Web.Mail to compose and send a message. I'm receiving an "Access is denied" error message when non-Domain Administrators attach files to the MailMessage. My allows users...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.