When attempting to run a vi with the RunVI command of LabVIEW CLI using LabVIEW 2016 32bit on Windows Server 2012 I receive the following:
Error code : 1039
Error message : Call By Reference in RunExecuteOperationVI.vi->RunOperationCore.vi->RunOperation.vi->RunOperation.vi.ProxyCaller
An error occurred while running the LabVIEW CLI.
The vi I call using LabVIEW CLI runs just fine when I run it from within LabVIEW.
This issue is similar to https://forums.ni.com/t5/LabVIEW/LabVIEWCLI-error-1130/td-p/3831875