Unable To Locate the LabVIEW Run-Time Engine Running an Executable from Network Location

Updated Aug 1, 2019

Reported In

Software

  • LabVIEW Professional
  • LabVIEW Full
  • LabVIEW Base

Other

LabVIEW Run-Time Engine

Issue Details

If one of the following  applies to you:

  • My executable runs without a problem on my development computer. However, when I run the executable on my deployment computer, I get the error Unable to locate the LabVIEW Run-Time Engine
  • My executable runs without a problem on my development computer. However, when I run the executable on another computer from a Windows shortcut to a network location, I get the error Unable to locate the LabVIEW Run-Time Engine

Solution

To avoid this error, copy the LabVIEW Run-Time Engine (lvrt.dll) to the directory that contains the executable on the server machine. You can find the Run-Time Engine installer on your LabVIEW CD in the redist\RunTime directory. 

If you have the LabVIEW Professional Development System, the Run-Time Engine installer is also copied to your <LabVIEW>\Applibs\installs\RunTime directory when you install LabVIEW.

If you purchased the Application Builder separately, you can find Run-Time Engine installer on your Application Builder CD in the redist\RunTime directory.

If you still cannot find the lvrt.dll file, check to make sure the bitness of the Run-Time engine you downloaded matches the version of LabVIEW you are using. If you are using 64-bit LabVIEW you will need the 64-bit Run-Time Engine, and if you are using 32-bit LabVIEW you will need the 32-bit Run-Time Engine.

See the link to download the LabVIEW Run-Time Engine installer in the Related Links section.
 

Additional Information

When you test the executable located on the server, the program runs on the server, where you have the LabVIEW Run-Time Engine (LVRTE, lvrt.dll) installed. Even though the LVRTE is on the server, lvrt.dll is probably not located in the same directory as the executable.

When you run the executable from a shortcut on the deployment machine, the executable will run as if it were located on the deployment machine. Since the deployment machine probably does not have the LVRTE installed on it, the program will look for the LVRTE in the directory that contains the executable, which is on the server. If it does not find it in either location, you will see that error.

WAS THIS ARTICLE HELPFUL?

Not Helpful