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.


sellsu01
2011-10-14T05:19:50Z
Hi,

While running programs in Visualcron, they have finshed with the error called "The handle is invalid" only in VC,but the application finished fine. Error is comming only in VC. I have attached the screen shot and VC logs with this for your reference. kindly help us with this issue
File Attachment(s):
VC issue1.bmp (2,674kb) downloaded 59 time(s).
log_server20110618.txt (10kb) downloaded 54 time(s).
Sponsor
Forum information
sellsu01
2011-10-14T05:21:52Z
Another log file
File Attachment(s):
log_server20110619.txt (3kb) downloaded 57 time(s).
ErikC
2011-10-14T06:10:27Z
Hi sellsu01,

Thanks for letting us know about this issue.

In the screenshot I see you are caling an external application. As a programmer I know that I can exit a program with a number. This number can be used te let the world know if the programm succeded or not. This number is called an errorlevel or exitcodes.

Normally this is number 0. Number 0 stands for: Everything is fine, no worries.
In your situation I see this line in your log:

6/18/2011 9:03:14 AM	Err	Task "02-BUILD-OSA-CR_CHEESE_2YR - OSA" exited with code: 6(The handle is invalid.)


You can see the application is giving back number 6. Visualcron gives a meaning to this numbers (Exitcodes ). That's why you see: The handle is invalid.

Running this program from a commandline you do not know about this exitcode, because windows is default not looking for this. Visualcron gives you awareness of this exitcode.

Why you program is giving 6 as exitcode I don't know. If this is a program created by yourself or a thirdparty, I suggest you look at the code why this is happening.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top