We are using vmware management SDK to start an executable on a remote machine managed in a vcenter.
While trying to start the process using "VMware.Interfaces.Operations.IVirtualMachineOperations.StartProgramInGuest" by passing the executable path, instead of receiving the id of the process that has been started, we are receiving -1073740791. And further call to list the running processes on the remote machine also fail with internal server error.
Can you mention why this is happening and the solution to avoid this ?
EDIT :
Correction ---- New process id is returned correctly. But, when exit code for this process is queried, -1073740791 is returned. Then, on trying to fetch a file from the remote machine, internal server error is encountered.
Found that "-1073740791" error code corresponds to "0xC0000409" windows process exit code, which is the error code for "STATUS_STACK_BUFFER_OVERRUN".
Process started via vmware management sdk is exiting with this error code, but manual execution of the executable file works fine.
Please look into this ASAP.
rohith470, Did you get solution to your problem? I am facing the similar issue. This is observed when I have updated the pyvmomi to version 6.7. The same code was working fine with vsphere SDK 6.5.