Adam:
  A Search on MSDN for "permission denied CDONTS" comes up with this:

http://search.microsoft.com/search/results.aspx?qu=CDONTS+permission+denied&;
View=msdn&st=b&c=0&s=1&swc=0

I had this problem with my ISP about 10 months ago and I found an article
and forwarded it to them.  It has something to do with setting permissions
on the actual CDONTS DLL in the object repository from what I recall, but
that was so long ago I can't really remember the exact fix.  One of the 7
choices from the link should point you in the right direction.
Brett Stinson
[EMAIL PROTECTED]
  -----Original Message-----
  From: AdamDayan [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 13, 2004 11:26 AM
  To: [EMAIL PROTECTED]
  Subject: [vbhelp] CDONTS permission denied error




  I have the following code running on a win2k server this code is
  working in one environment but failing on one of our test servers
  with a permissions denied error.  I have granted the IUSR and IWAM
  full access to the mailroot directory and its subdirectories. can you
  recomend anything else I might try.  Thanks

  set obFeedback = Server.CreateObject("CDONTS.NewMail")

        obFeedback.From = Session("snMailFrom")            'Session
  Variable set in the global.asa file
        '  obFeedback.From = "[EMAIL PROTECTED]"
        obFeedback.To = request.FORM("recipient")'Application
  ("snMailTo")                  'Session Variable set in the
  global.asa file
        obFeedback.cc = Session("snEMailID") 'Session Variable set in
  the global.asa file
        obFeedback.Subject = "Feedback"
        obFeedback.Body = fdbkBody                        'From
  Form Object


        If fdbkBody <> "" then
            on error resume next
              obFeedback.send
              If  err.number > 0 then
                    response.write "VBScript Errors Occured:"
  & "<P>"
                    response.write "Error Number=" & err.number
  & "<P>"
                    response.write "Error Descr.=" &
  err.description & "<P>"
                    response.write "Help Context=" &
  err.helpcontext & "<P>"
                    response.write "Help Path=" & err.helppath
  & "<P>"
                    response.write "Native Error=" &
  err.nativeerror & "<P>"
                    response.write "Source=" & err.source & "<P>"
              else%>
                    <center>
                    <br>
                    <br>
                    <br>
                    <p><span class=message > Mail was sent
  successfully.</span></p>
                    <p></p>
                    <p><input type='button' value='Close'
  onClick="top.close()"></p>
                    </center>
              <%end if
        else
              Response.Redirect("../Docs/fdbkmail.asp?MsgID=211")
        end if
        set obFeedback = Nothing









  '// =======================================================
      Rules : http://ReliableAnswers.com/List/Rules.asp
      Home  : http://groups.yahoo.com/group/vbHelp/
      =======================================================
      Post  : [EMAIL PROTECTED]
      Join  : [EMAIL PROTECTED]
      Leave : [EMAIL PROTECTED]
  '// =======================================================



        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to