1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

CDONTS.DLL - not working !!??

Discussion in 'Plesk for Windows - 8.x and Older' started by emsol, Aug 5, 2004.

  1. emsol

    emsol Guest

    0
     
    Installed the cdonts.dll - registered it and ran a few tests - I keep getting 500 errors.

    Checking the logs comes up with permission denied errors.

    I've set the dll to EVERYONE read / execute. Is there something else I need to do ? Never had this problem with other windows control panels before.
     
  2. PaulC

    PaulC Regular Pleskian

    24
    57%
    Joined:
    Aug 5, 2001
    Messages:
    192
    Likes Received:
    0
    To use CDONTs, you will have to give the IUSR_ user full permissions to c:\inetpub\mailroot
     
  3. addstravel

    addstravel Guest

    0
     
    Once CDONTS is installed good idea to reboot and to maybe restart the SMTP service.
     
  4. emsol

    emsol Guest

    0
     
    Firstly, thank you for your help.

    I know that CDONTS has been replaced by CDOSYS but there are still a great number of people who wish to use this DLL. Is there a way of adding all the IUSER_users automatically to a group so we dont have to manually set permissions every time ? I think alot of people will find this a big inconvenience.

    Actually, It would be very helpful to have all these users in a group for access to a great number of things.
     
  5. emsol

    emsol Guest

    0
     
    Added the permissions - restarted server,

    still get the following...

    GET /test2.asp |15|800a0046|Permission_denied 500 0 1539 377 15
     
  6. emsol

    emsol Guest

    0
     
    Can anyone provide any more general advice before I Iog a support ticket ? Any help would be greatly appreciated.

    Do I need to do anything with the app pool maybe ?
     
  7. emsol

    emsol Guest

    0
     
    Just to confirm exactly what I've done..


    1. Installed the cdonts.dll into the system32 directory
    2. registered the dll
    3. set permissions on the file to everyone read / execute
    4. Set permissions on the inetpub/mailroot folder to full control for all plesk IUSER accounts (would be nice to have an ALL IUSERS group generated and maintained by plesk)
    5. Ran a test script from a domain.

    The result is a 500 error - log says permission denied.

    The test script I'm using is as follows...

    <%@ language= "VBscript" %>
    <% Option Explicit
    'declare your variables
    Dim NewMail, Body
    'create an instance of the NewMail Object
    Set NewMail = Server.CreateObject("CDONTS.NewMail")

    NewMail.To= "mail@domain.com" ' the email address it will be sent to
    NewMail.From= "mail@domain.com" ' the email address it was sent from
    Body= "Hi there, just testing codefixer's email tutorial out!"
    NewMail.Subject = "Hello"
    NewMail.Body = Body
    NewMail.Bodyformat=0
    NewMail.Mailformat=0
    NewMail.Send

    Set NewMail=Nothing
    %>

    If you would like to send it as plain text rather than HTML just remove the 2 lines
    NewMail.Bodyformat=0
    NewMail.Mailformat=0
     
  8. PaulC

    PaulC Regular Pleskian

    24
    57%
    Joined:
    Aug 5, 2001
    Messages:
    192
    Likes Received:
    0
    Have you tried setting permissions as full for everyone on the mailroot folder?
     
  9. emsol

    emsol Guest

    0
     
    yes,

    Still same problem :(

    Both the Inetpub and the the mailroot folder are showing as read only on the properties > general tab - changing this doesnt do anything and next time I look, the folder is read only again.
     
  10. emsol

    emsol Guest

    0
     
    Getting desperate to find a fix - SW-Soft say this would be chargeable support at $200 per hour or whatever - I dont see why !!

    Has anoyone else managed to get the CDONTS DLL working with plesk 7 win ?
     
  11. siren@

    siren@ Guest

    0
     
    CDONTS is not supported under IIS 6 with Work Process Isolation doesn't work. Or if it does I have yet to find it.

    The problem is the permissions for each user have to be added to all the specified folders, etc... I haven't found a viable solution yet under Plesk 7.
     
  12. emsol

    emsol Guest

    0
     
    ok, thanks for your help.

    We lost the customer who needed cdonts :(

    Will have to make sure we dont advertise that its supported - with so many other ways to send mail aspemail - aspmail - jmail etc - shouldnt be a big deal.
     
  13. Good Idea

    Good Idea Guest

    0
     
    Can someone upload that file and post link? CDONTS.DLL that works on W2k3?(Windows Server 2003)

    Thanks.
    Tamir:rolleyes:
     
  14. siren@

    siren@ Guest

    0
     
    Search googl cdonts.zip

    extract to c:\windows\system32\

    regsvr32 c:\windows\system32\cdonts.dll

    Go to IIS

    Right Click SMTP Service

    Go to Properties

    Click Security

    Click Add

    Click "objects"

    Make sure groups is checked (it isn't by default)

    Find IIS_WPG

    Add.

    Where microsoft says add IUSR_machinename this will add access for all IUSR_workprocesss for the isolated application pool.
     
  15. emsol

    emsol Guest

    0
     
    Just wanted to say thanks Larry for this info - it worked great for us !

    If only Sw-soft would take the time to offer this kind of help without trying to charge us all for it.
     
  16. globodata

    globodata Guest

    0
     
    I´ve followed this instructions, but I´ve had the following problem :

    If I click in objects and add groups, it´s ok.
    If after that I go to advanced / find now / and add IIS_WPG, the groups just appear unchecked.

    Do you know why ? What I have to do to enable CDONTS ?

    If you could help me I´d appreciate, I´m having a lot of problems with my costumers.
     
  17. BillChang

    BillChang Guest

    0
     
    Click "objects"
    (THIS IS WHAT WE FORGOT)
    :mad:
     
  18. asifrizvi

    asifrizvi Guest

    0
     
    nice one

    thanx a lot its really helpfull.
     
Loading...