« Previous Next »

Thread: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

Last post 08-18-2008 10:41 PM by steve schofield. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 08-18-2008, 4:00 AM

    • Chonanis
    • Not Ranked
    • Joined on 06-28-2008, 6:19 PM
    • Posts 7

    Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    I'm a newbie of windows 2008 & IIS7. Now I cdonts script in my server cannot be used. When submitting the form, there's an error:

    Microsoft VBScript runtime error '800a0046'
    Permission denied
    /cdonts/confirmation.asp, line 15

    The code in line 15 is: objMail.Send

    I've searched in microsoft webiste, found only a resolution for iis4 & iis5. Please suggest.
  • 08-18-2008, 8:50 AM In reply to

    Re: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    cdonts is old technology try and use cdosys.

    Have you registered the cdonts dll?

    See

    http://forums.iis.net/p/1150855/1875880.aspx

     

  • 08-18-2008, 10:24 AM In reply to

    • Chonanis
    • Not Ranked
    • Joined on 06-28-2008, 6:19 PM
    • Posts 7

    Re: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    I have to use cdonts, and I've already registered cdonts.dll file. Please help.
  • 08-18-2008, 10:23 PM In reply to

    Re: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 08-18-2008, 10:26 PM In reply to

    • andy18
    • Top 150 Contributor
    • Joined on 09-10-2007, 4:33 AM
    • Posts 35

    Re: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    is the site running as isolated application pool other than Network Service user? If yes, check and make sure the user has access to the mailroot directory.
  • 08-18-2008, 10:41 PM In reply to

    Re: Cdonts error: Microsoft VBScript runtime error '800a0046', please help.

    Yes.  I tested with network service as the application pool user, the IUSR as the anonymous user and also set the Anonymous Authentication module to inherit the application pool user, no issues.  Classic ASP applications use the IUSR account when authenticating.  I'd recommend you set the Anonymous authentication module to inherit the app pool user account. 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (6 items)
Microsoft Communities