I have an application that should run on a remote server as a scheduled task. The application fails with the above error message. However, if I execute the application manually, it runs smoothly. No problems.
All the resolutions I have found relate to ASP.net applications. Including those I have found in Experts Exhange. My application has no UI. It just needs to run at a specified time.
The application builds word documents then saves them to a location on another server. I've determined the program fails when I identify the path and folder to where the letters need to be stored.