Error Start Program in Task Schedular Windows Server 2008 R2
I use Windows Server 2008 R2 Standard and I have a program that I want to be executed in daily basis, when I open it normally in windows (double click) it works fine but when it runs through task scheduler it throws error System.IO.DirectoryNotFound, Local Id 1033 The program reads from xml file, I set the "configure for" field for both Windows server 2008 and 2008 R2 but it gives the same result . Why when the program starts through Task Scheduler it throws error and how I can solve it? Thanks
January 10th, 2011 2:43pm

Have you checked whether scheduled task has Start In parameter set correctly? Other option can be that scheduled tasks starts under account that has not accessenough rights for folder, but is written in such way that throws System.IO.DirectoryNotFound instead of something like access denied?
Free Windows Admin Tool Kit Click here and download it now
January 10th, 2011 3:05pm

Thanks, The "Start in" solved the problem I just put the directory where the application is and it worked. I didn't add it because it was written optional, any how thanks
January 10th, 2011 4:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics