Dear esteemed Sirs/Madams,
I would like to ask you a question so I can hopefully fix a very weird problem.
We had the program (that makes a SFTP connection and downloads some files and processes them) running on a Windows Server 2003. We migrated the whole program to Windows 2008 R2. We had some issues, apparently running the scheduled task under Administrator account is not enough, you also need to give the IUSR group enough permissions. Anyway after a lot of effort and hard work, the program ran successfully. Now we have the problem that it is not working at all, we tried an IIS reset as that is the thing that worked the last time. Could anybody here please help me out and see if they know the fix?
That is an excerpt of the logfile.
asked Mar 11 '13 at 11:04
First, you are using an old build from Feb 2010, so I always recommend that you try the latest build (Dec 2012) and see if that fixes your problem.
Secondly, the error message is Access is Denied, which almost always indicates a permissions problem. Are you sure that the user account that your process is running under has permission to write to the D:webrootextrafilmhelpsyouwebsiteMaatwerkKlantImporter-Express-T5-v20120619 folder?
answered Mar 11 '13 at 19:41
Sadly the new version causes this.
The user running the account is Administrator. So that should be all right. UAC bug seems to be the culprit so far.
We ran it under the System account and it downloaded the files correctly. It could not process them as it was not allowed to make a connection to another server/website.
Tomorrow I know more. Also there seems to be another possible fix, something to do with rights on the task itself. I have to look into this more.
Anyway the fix for the Application pool user was not applicable, as it did not run under a application pool. :D
I will keep you all posted.
answered Mar 12 '13 at 10:05