Control Could Not Be Loaded Error When Placing ActiveX Control in LabVIEW

Updated Dec 9, 2024

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

  • When I try to place an ActiveX object from the ActiveX palette on LabVIEW Front Panel I get the following error message.
  • I upgraded the version of .NET Framework by updating NI software. Now the controls on my executables have this error. How can I fix this?

Control could not be loaded

 

Solution

The ActiveX palette item is not properly linked to the ActiveX control, so LabVIEW is unable to find the correct path to the ActiveX control on disk. This message can also occur if the ActiveX control requires a .NET Framework version and this version is not installed on the machine. In addition, it may happen if incompatible versions of .NET Framework are being used when going from a development to target machine.

Note: .NET versions 2.0 and higher are backwards compatible. For example, if the .NET Framework 3.5 is installed, aspects of the .NET Framework 2.0 can be used. 

 

This can also happen if you are using an ActiveX control that is only supported in 32-bit, so it's also relevant to check if your control was working on a 32-bit version and now you see this error on LabVIEW 64-bit. Consider using LabVIEW 32-bit as an immediate workaround if this is the case. 

 

Additionally, to fix this issue you can try one of the following steps: