Error -1074396157 Unlicensed Copy When Running Vision Application

Updated Apr 26, 2023

Reported In

Software

  • LabVIEW
  • Vision Development Module
  • LabVIEW Application Builder Module

Issue Details

I have LabVIEW and the Vision Development Module on my development machine, and I am trying to build an executable (or installer) for distribution. I have purchased the necessary licenses for the executable. When I build my applications, install them on my target machines, and attempt to run them, I get the following error message:

Error -1074396157: This unlicensed copy of Vision may be used for demonstration purposes only.



What have I done wrong?

Solution

  • This problem will arise when you have not properly installed the Vision Run-Time Engine on the target machine. To solve this problem, manually run the Vision Run-Time Engine installer on the target machine (for example visionXXrte.exe for Vision Development Module X.X, where XX is the version of the Vision Development Module) and the error message should go away. For Vision 8.0 and later, you can include the Vision Run-Time Engine in your LabVIEW installer.
  • The other error that could arise is that your executable, when run, will complain about a missing DLL file. Again, ensuring that the Vision Run-Time Engine is installed should fix this problem. If you are unsure about whether the run-time engine is installed, go into Control Panel»Add/Remove Programs. Look through the installed programs and verify the presence of an entry like "NI Vision X.X Run-Time Engine". You may need to highlight the NI Software and select Change (or Modify) to open a second window that will list all installed NI  software.
  • This issue can also be caused by using old version of the NI License Manager. Please upgrade your NILM to version 4.7 or later to take advantage of licensing improvements. 
  • If the Vision Development Module is installed but not activated and there is also an activated copy of the VDM RTE, if an executable has VDM VIs, this error will appear. Remove the VDM and leave the VDM RTE to resolve this error.