Solution
If you recently upgraded versions of LabVIEW, your VIs may need to be recompiled to run properly on your target. Follow the steps in
Forcing a VI to Recompile to do this.
If LabVIEW has not been upgraded and this error appeared after making changes to your code, this issue can often still be corrected by force-recompiling your VIs. If that does not change the behavior, you can attempt to resolve this by clearing the object cache in LabVIEW in order to ensure that everything is recompiled before deployment. There are two ways to do this:
- In LabVIEW, go to Tools >> Advanced >> Clear Compiled Object Cache.
- Delete the following file: C:\Users\<USERNAME>\Documents\LabVIEW Data\VIObjCache\<VERSION>\objFileDB.vidb on disk.
If the previous steps didn´t work, you can consider locating the VI that is displayed in the error message and removing the parent VI, saving, and closing the project. Then reopen and reinsert the parent VI. This normally allows the project to be able to deploy and run.