Groups | Blog | Home
all groups > iis security > august 2004 >

iis security : CreateObject("CDONTS.NewMail") fails


Richard
8/19/2004 12:31:01 PM
We have an ASP page running on IIS 5.0 running on Win2K Server with Exchange
Server running on the same box.

This ASP page runs has a line of code that sends an email using:

CreateObject("CDONTS.NewMail")

This page runs fine under windows ingegrated authentication, but fails with
anonymous user access (IUSR_<computername>). What do we need to make it work
under anonymous access.

I have seen similar question before in this posting, but the fixes suggest
do not work for me, as we have no virtual SMTP running under IIS.

We have tried to use workaround 2 mention in the following KB, but its
failing:
http://support.microsoft.com/default.aspx?kbid=816789

We have tried givng Read/execute permission to IUSR_<computername> on
CDONT.DLL. I have

tried giving Read/execute permission to IUSR_<computername> on the NTFS
folder that has the asp page.

May I know how to set the right permissions to allow the ASP page work under
anonymous access.

--
Richard Vosylius
Ken Schaefer
8/20/2004 10:42:54 AM
....and what is the exact error message etc? "doesn't work" isn't very
helpful :-)

Cheers
Ken

[quoted text, click to view]

AddThis Social Bookmark Button