Forum Moderators: open
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: CheckedExecute 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
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.