House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Problem with Authentication on IIS 7 5 & Scheduled Task

Author:
Russ Michaels
08/10/2012 05:12 PM

Try different browser and see if it still works, you may be using cached login which is why it seems to work in browser. Do you have cf running under a custom user Regards Russ Michaels On Aug 10, 2012 9:39 PM, "Carl Von Stetten" <vonner.lists@vonner.net> wrote: > > I have ColdFusion 10 running on Windows Server 2008R2, using IIS7.5 as web > server.  I have an intranet application configured to use Windows > Authentication with NTLM, which works very well.  However, I have an issue > with executing scheduled tasks.  The files are part of this same > application, but are located in a nested subdirectory under the webroot. >  On this subdirectory, I have turned off Windows Authentication and turned > on Anonymous Authentication (using the built-in IUSR account). > > When I try to run any .cfm files in this subdirectory via a scheduled > task, I get a "401.2 - Unauthorized" error.  However, if I run the files > from a web browser, even when logged in as a non-domain user, the .cfm > files run without issue. > > I've checked the permissions on the subdirectory in question, and all of > the relevant accounts (the Active Directory account CF runs under, the > local account created for the application pool, and the built-in IUSR > account) have permissions to read from that subdirectory. > > I can't for the life of me figure out what I'm doing wrong.  Anyone have > any ideas? > > Thanks > -Carl > > >


Search cf-talk

May 25, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference