Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Fullerton, CA

    Red face Unanswered: CDONTS Error 0x800A0046: Permission Denied - Please Help

    I am trying to create a form on my company intranet that sends an email of the results after the user submits the data. Unfortunately, users can't send mail because of a Permission Denied error. Specifically, I get the following: Microsoft VBScript runtime (0x800A0046) Permission Denied /mailform.asp line 84.

    The CDO code reads as follows:

    Dim objCDO
    Set objCDO = Server.CreateObject("CDONTS.NewMail")
    objCDO.To = strTo
    objCDO.From = strFrom

    objCDO.Subject = strSubject
    objCDO.Body = strBody

    Line 84 -->objCDO.Send

    At line 84 the program craps out. I can send mail using my administrator's account. However, regular users can't. I have granted read and Execute, read, write and modify permissions on the Inetpub directory and propegated permissions down the directory tree. I have also added permissions to the CDONTS.DLL file in the windows/system32 directory. Can someone please help?



  2. #2
    Join Date
    Jul 2003
    To use this component to send e-mail you also need the SMTP Server that ships with IIS 4 or 5 installed on the web server. The SMTP server is usually installed by default with the standard IIS installation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts