Forum Moderators: open

Message Too Old, No Replies

CDONTS permission error :(

Permission look fine. What am I missing?

         

chris_f

12:26 pm on Jan 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Guys,

I've just installed CDONTS on my WinXP Pro machine because I am sick of having to upload my apps that use CDONTS to test them. It's so much easier just to have it installed on my machine. Anyway, whenever I try to run CDONTS I get the following error message

Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/xxxxx/xxxx/processmember.asp, line 18

on the line

Set ObjSendA = Server.CreateObject("CDONTS.Newmail")

The line looks ok to me and the error message mentions permissions. However, these seem ok to me. This is my setup:

Permissions For The Application (in IIS)

Script Source Access: unchecked
Read: Checked
Write: Unchecked
Directory Browsing: Unchecked
Log Visits: Checked
Index This Resource: Checked

Execute Permissions: Scripts Only

Directory Security >> Anonymous access and authentication control >>
Anonymous Access: Checked
Username: IUSR_MAX (MAX is the machine name)
Allow IIS to control password: Checked

Default SMTP Virtual Server Properties (in IIS)

Access >> Authentication
Anonymous Access: Checked

The SMTP service has started and in logged in under 'Local System'.

Can anyone see the problem?
Any help is greatly appreciated.

Chris

chris_f

8:20 am on Jan 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Monday Morning Boost :)

chris_f

9:08 am on Jan 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tuesday Morning Boost :)

Last try.

Chris

Xoc

6:18 am on Feb 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Chris, you might check to see if IWAM_machinename can get to the CDONTS dll.

Another thing to try, actually log in as IUSR_machinename and/or IWAM_machinename. You'll have to change the password to something you know using the standard NT administrative function, then use IIS manager to sync the password (go to web site properties, Directory Security, Anonymous access and authentication control, Edit). Then write a short vb program VB or VBScript program to call CDONTS directly and see if it can succeed.