Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline untitled  
#1 Posted : Friday, July 26, 2019 2:04:40 PM(UTC)
untitled

Rank: No customer

Joined: 7/26/2019(UTC)
Posts: 1
South Africa
Location: Gauteng, Johannesburg

Was thanked: 2 time(s) in 1 post(s)
Hi all, thought we would share this with the community.
We are running version 7.6.6 of Visualcron and we have a console app written in C# .net, the app logs out stats to the console as it runs and it would start but exception out with the following error and we had no problem running it standalone:
Quote:
Unhandled Exception: System.IO.IOException: The handle is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)


Solution:
It turns out that it was related to the "Console.Clear();" command that we use that caused the problem. Huh we removed it and it seems to work now.

Hope this helps someone out there, happy Visualcroning BigGrin

Edited by moderator Wednesday, July 31, 2019 10:24:47 AM(UTC)  | Reason: Not specified

thanks 2 users thanked untitled for this useful post.
Support on 7/29/2019(UTC), Support on 7/31/2019(UTC)
Offline Support  
#2 Posted : Wednesday, July 31, 2019 10:24:32 AM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,203

Thanks: 871 times
Was thanked: 446 time(s) in 424 post(s)
Thanks, this is because the host for executing c# does not have any console (as it runs in the background).
Henrik
Support
http://www.visualcron.com
Please like VisualCron on facebook!
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Scroll to Top