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


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
Forum information
You would have to post the code in the console app. It could be due to something like this: 
You should not use start directly in the VisualCron Task.

Use the full path to the exe instead.
Please like  VisualCron on facebook!
Scroll to Top