Henrik,
We have two vcron servers and we want to have one as the scheduler and the other as a remote executioner of jobs.
We use the execute process. with background execution context on a the remote executioner.
We see the process run, we see the output files from the process indicating that it succeeds but when we are done an exception from outside our application happens.
It is either
1 )Exception in Task: Array cannot be null.
Parameter name: bytes
or
Exception in Task: System.ArgumentNullException: Array cannot be null.
Parameter name: bytes
at System.Text.Encoding.GetString(Byte[] bytes)
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.CCEDIKOJOACMABGAIHHOHPJCDMJPDMLJKHNK.JKEKJGLIDAFCKLBOJBNNLAOJKNCCEAKIJLII() in C:\sourcefiles\code\VisualCronService\Jobs\clsTaskFoundation.vb:line 719
We originally thought the cursor position calls where the culprit, but we have commented these calls out of our code and we right nothing to the default output stream and still get these exceptions.
Sorry for the confusion but we are tracking this down. We changed to this scenario from using the WMI "remote execute" since we like the capability of seeing the output stream in the vcron log.
Thanks
Hector