I have a C# console program that generates Excel files and writes extracted data from SQL tables into them. Program is scheduled by Windows Scheduler to run periodically. Problem is that when scheduler fires up the program, it goes through the steps and logs that completes successfully. However, no file is generated and no error is logged. If I run it from command window, it works perfect.
I'm stuck. Any help is appreciated.