Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2004, 06:25 PM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ACCESS DENIED error when sending mail

Hello,

I've recently upgraded my servers to Win 2003 so I'm trying to migrate my ASP code to begin using CDOSYS instead of CDONTS to send Mail messages. The server is used as a web server (IIS) and as a Mail server (Exchange 2003).

I'm getting a strage error on the line that does the actual objMail.Send():

CDO.Message.1 error '80070005'
Access is denied.
/site/send.asp, line 91

I've tried everything on the web to fix this. The IUSR and IWAM accounts both have full access to the mailroot folder in inetpub. They also have full access to Exchange's Mailroot folder (in case that's where IIS is sending messages from). I've even added those 2 users to the Administrators group, and I'm still getting the same error.

Any help would be greatly appreciated. Thanks,

Avishai Shraga
Avix Solutions, Inc.
 
Old March 8th, 2004, 04:40 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hello
first you give The IUSR and IWAM your project folder no need to mailroot folder in inetpub


surendran
 
Old March 18th, 2004, 09:41 PM
Registered User
 
Join Date: Sep 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also had met this problem
Can you provide more information ?!
I dont know how to set IUSR and IWAM can access to my project folder

Thanks !!!

A.S.N.K.A.
 
Old March 22nd, 2004, 05:47 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

Hello
first right click your project folder then click properties,
after that security tag
click add
here you can select IUSR and IWAM
and give full control for both.


surendran
(Anything is Possible)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail sending error rajuru Beginning PHP 3 October 20th, 2004 01:19 AM
URGENT Error in sending mail qazi_nomi Classic ASP Basics 12 June 25th, 2004 07:42 PM
Urgent Error in sending mail qazi_nomi Classic ASP Components 1 June 11th, 2004 02:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.