Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


long.fway
2018-10-05T01:00:05Z
Hi,

I am just in the process of migrating all my scheduled tasks from Windows Task Scheduler to VisualCron. While for the most part everything has migrated successfully, I seem to be having issues with a handful of the .NET Console Apps.

When I run the task through VisualCron v8.3.6 I get the following error code -53246276 and the following error message;

UNHANDLED EXCEPTION The handle is invalid.
Stack trace
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBuffe


At the moment the only way I can get these applications to run, is to create a task that runs a batch file, that execute the application eg

start "C:\Folder Location of App" console_app.exe

I have tried a plethora of options to try fix this, eg running the task in the foreground, un-hide the window, etc.

Any help will greatly be appreciated
Sponsor
Forum information
thomas
2018-10-05T10:26:38Z
You would have to post the code in the console app. It could be due to something like this:

https://stackoverflow.co...stem-io-error-winioerror 
Support
2018-10-08T07:38:24Z
You should not use start directly in the VisualCron Task.

Use the full path to the exe instead.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top