2 Replies Latest reply: Sep 25, 2014 6:54 AM by Libby H RSS

    Running CFEXECUTE to run C:D process - getting possible permssions error in C:D side

    Libby H Community Member

      I'm executing a CFEXECUTE statement in a CFScheduler job that is supposed to C:D a file from one Windows Server to another Windows server.

      I've built the C:D batch job correctly and can run it successfully from the CMD prompt (by double clicking on the .bat file name).

      Here is my statement:

      <cfexecute name="C:\Windows\system32\cmd.exe" arguments="/c E:\inetpub\WWWROOT\Tips\ScheduledJobs\tips_to_tws.bat"

       

      The job ends without any errors, but I get a C:D error - LAPP010I - Submit file open failure. CCODE=8 FDBK=0

      So my thought process is this:  when I go and execute the C:D command by double clicking on it alone - it is taking my id/password as the submitter.  This is evident by looking at the C:D logs.

      And when I execute the CFScheduler job, that runs the CFEXECUTE command, it uses XXXXXX id to run the C:D command.  So my question is - what is the XXXXXX id?  I don't have ColdCusion running on a special service account, so I'm not familar with what id it would be associated with.  So any help would be appreicated.