C# .NET - I have a C# windows app, that works great exception when it running from task scheduler.

Asked By Mamie Warren on 23-Jul-15 12:51 PM
This application is an integration with Quickbooks and it fails to begin session.  The exact error is: BeginSession method has not been called or it did not succeed.
Stack Trace:    at Interop.QBFC13.IQBSessionManager.DoRequests(IMsgSetRequest request)
   at .......)

Robbe Morris replied to Mamie Warren on 23-Jul-15 01:01 PM
There are restrictions to using user interface oriented applications via task scheduler unless the application itself make it available to call this way.  It would either be that or some dependency that can't be fired up without human interaction.