Error Inserting ActiveX or .NET Object. The System Cannot Find the File Specified

Updated Nov 3, 2017

Reported In

Software

  • LabVIEW 2016 Full
  • LabVIEW 2017 Full

Issue Details

I am using a .NET container to place a custom control on the front panel. Whenever I  try to connect the container to my control I get the error: 

Error inserting ActiveX or .NET object: Error creating instance of <dll name> in assembly

Solution

Save your VI in a LabVIEW Project​
  1. File >> Create Project >> Blank Project >> Finish
  2. click Add to include the current VI in the new project
  3. Reattempt to connect the .NET container

Additional Information

NI strongly recommends only using .NET objects in the context of a LabVIEW project

WAS THIS ARTICLE HELPFUL?

Not Helpful