I have a similar problem that brings up the same error message when I try to dynamically load and run VIs in my LabVIEW executable. This does not happen when I run the VI version. I'm using the victl.llb (VI Control) library to load the VIs. Am I doing something wrong in loading the VIs or in building the EXE? Does it have anything to do with different paths to the VIs in the VI and EXE version?
I tried a second approach that runs the VI dynamically by opening a VI reference and call the RUN VI method. This, works occasionally and returns the same error. Please help.