CreateObject("CDONTS.NewMail") fails

From: Richard (Richard_at_discussions.microsoft.com)
Date: 08/19/04

  • Next message: John: "web site operator rights in IIS 6.0"
    Date: Thu, 19 Aug 2004 12:31:01 -0700
    
    

    We have an ASP page running on IIS 5.0 running on Win2K Server with Exchange
    Server running on the same box.

    This ASP page runs has a line of code that sends an email using:

    CreateObject("CDONTS.NewMail")

    This page runs fine under windows ingegrated authentication, but fails with
    anonymous user access (IUSR_<computername>). What do we need to make it work
    under anonymous access.

    I have seen similar question before in this posting, but the fixes suggest
    do not work for me, as we have no virtual SMTP running under IIS.

    We have tried to use workaround 2 mention in the following KB, but its
    failing:
    http://support.microsoft.com/default.aspx?kbid=816789

    We have tried givng Read/execute permission to IUSR_<computername> on
    CDONT.DLL. I have

    tried giving Read/execute permission to IUSR_<computername> on the NTFS
    folder that has the asp page.

    May I know how to set the right permissions to allow the ASP page work under
    anonymous access.

    -- 
    Richard Vosylius
    Endeavor Commerce
    

  • Next message: John: "web site operator rights in IIS 6.0"

    Relevant Pages

    • Re: Persmission Denied
      ... has only been possible running the asp page directly on my test IIS ... >is your IIS virtual dir set up to use anonymous access? ... strUserDN, objUser ...
      (microsoft.public.scripting.wsh)
    • Re: wsx to asp ad rotator doesnt work
      ... has anonymous access enabled, and does not have any other ... The pub point wsx file has a test file that is called ... The second entry in the wsx file is the asp page. ... >control is enabled on the IIS box? ...
      (microsoft.public.windowsmedia.server)
    • Re: dllhost
      ... It's just about 100% pure ASP with com objects. ... DLLHOST goes to 95-100% utilization and stays there indefinitely unless IIS ... > a simple HTML page serve or do they also hung? ...
      (microsoft.public.inetserver.iis)
    • Re: Accessing 32 bit COM components in 64 bit IIS
      ... CGIs, and ASP scripts onto a 64bit machine, and it just works after they ... The most confusing aspect of running 32bit app on a 64bit OS is that you ... System32 access is redirected, etc). ... we will be introducing the ability to configure IIS to run ...
      (microsoft.public.inetserver.iis)
    • Re: ASP Authentication on IIS 6.0 Windows 2003 Server 32bit help please
      ... when an ASP page is executed in IIS? ... site that requires a user to enter their domain account to access the ... the ASP script code ... I find that the .exe runs ...
      (microsoft.public.inetserver.iis.security)