|
 |
asp_cdo thread: CDO.Message.1 error '80070005' ....Access Denied
Message #1 by "Fabio Teti" <fteti@s...> on Wed, 23 May 2001 03:16:53
|
|
Has anyone else seen this problem? We have Windows 2000 Advanced Servers
and are running Exchange 5.5 on one and IIS on another. I'm trying to
send mail using CDO from within an ASP and keep getting this access denied
error:
CDO.Message.1 error '80070005'
Access is denied.
/filename.asp, line xx
code:
Set iMsg = CreateObject("CDO.Message")
with iMsg
.To = "to@s..."
.From = "from@s...
.Subject = "Subject Stuff"
.TextBody = "Body of Message"
.Send
End With
When I embed this code in a VB app it runs fine and if I add the
IUSR_Server account to the administrator group the asp page works fine.
Any ideas?
Thanks,
FT
Message #2 by Hal Levy <hal.levy@s...> on Wed, 23 May 2001 10:17:33 -0400
|
|
You know the problem. The IUSER account needs rights to send mail using
Exchange/CDO. ADMIN gives it that right.
I would suggest, however, just giving the IUSER account the right to
use
Exchange/CDO.
Hal Levy
StarMedia Network, Inc.
Intranet Development Manager
-----Original Message-----
From: Fabio Teti [mailto:fteti@s...]
Sent: Tuesday, May 22, 2001 11:17 PM
To: ASP CDO
Subject: [asp_cdo] CDO.Message.1 error '80070005' ....Access Denied
Has anyone else seen this problem? We have Windows 2000 Advanced
Servers
and are running Exchange 5.5 on one and IIS on another. I'm trying to
send mail using CDO from within an ASP and keep getting this access
denied
error:
CDO.Message.1 error '80070005'
Access is denied.
/filename.asp, line xx
code:
Set iMsg =3D CreateObject("CDO.Message")
with iMsg
.To =3D "to@s..."
.From =3D "from@s...
.Subject =3D "Subject Stuff"
.TextBody =3D "Body of Message"
.Send
End With
When I embed this code in a VB app it runs fine and if I add the
IUSR_Server account to the administrator group the asp page works fine.
Any ideas?
Thanks,
FT
|
|
 |