CDONTS problem


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: CDONTS problem

  1. #1
    masi Guest

    CDONTS problem


    i am trying to create an email page using vbscript's cdonts on an asp page
    i am running iis and i get this error :
    Error Type:
    Microsoft VBScript runtime (0x800A0046)
    Permission denied
    /vb/email.asp, line 9

    now i made sure that my server was set to run asp pages, and i dont understand
    why it says accessed denied. the line 9 it refers to is where there is my
    myMail.send() . i used -> Set myMail = CreateObject("CDONTS.NewMail")

    any help would be appreciated, i dont understand why it says access denied

    thanx, masi

  2. #2
    Itai Raz Guest

    Re: CDONTS problem

    Try making sure that you have sufficient permission on the mail directories
    (usually found under c:\Inetpub\mailroot). Specifically make sure that the
    user underwhich your application is running (can be found in the IIS
    settings for the specific application) has full control over all directories
    under c:\inetpub\mailroot (or wherever you have that directory set up).

    --itai


    "masi" <webdev.@127.0.0.1> wrote in message
    news:3e153da1$1@tnews.web.devx.com...
    >
    > i am trying to create an email page using vbscript's cdonts on an asp page
    > i am running iis and i get this error :
    > Error Type:
    > Microsoft VBScript runtime (0x800A0046)
    > Permission denied
    > /vb/email.asp, line 9
    >
    > now i made sure that my server was set to run asp pages, and i dont

    understand
    > why it says accessed denied. the line 9 it refers to is where there is my
    > myMail.send() . i used -> Set myMail = CreateObject("CDONTS.NewMail")
    >
    > any help would be appreciated, i dont understand why it says access denied
    >
    > thanx, masi




  3. #3
    Phil Weber Guest

    Re: CDONTS problem

    > I am trying to create an email page using vbscript's
    > cdonts on an asp page...


    Masi: This group is for questions about ASP.NET (formerly known as "ASP
    Plus"). In the future, you're more likely to get help with classic ASP
    questions if you post them to the web.asp group. Thanks!
    --
    Phil Weber



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center