Measurement Studio Installer Build Fails to Load LicenseManagement.Interop

Updated Aug 13, 2018

Reported In

Software

  • Measurement Studio

Issue Details

I am building an installer in Measurement Studio, and the build logs show that the NationalInstruments.LicenseManagement.Interop failed to load. It indicates that the GAC Lookup was unsuccessful. I get the following error: 

=== Pre-bind state information ===
LOG: DisplayName = NationalInstruments.LicenseManagement.Interop, Version=4.1.0.0, Culture=neutral, PublicKeyToken=9c1d1a77308d2a44
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6 Tools/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = LC.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\LC.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: NationalInstruments.LicenseManagement.Interop, Version=4.1.0.0, Culture=neutral, PublicKeyToken=9c1d1a77308d2a44
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6 Tools/NationalInstruments.LicenseManagement.Interop.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6 Tools/NationalInstruments.LicenseManagement.Interop/NationalInstruments.LicenseManagement.Interop.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6 Tools/NationalInstruments.LicenseManagement.Interop.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6 Tools/NationalInstruments.LicenseManagement.Interop/NationalInstruments.LicenseManagement.Interop.EXE.
LOG: All probing URLs attempted and failed.

How do I resolve this? 

Solution

Your license management tools most likely have been corrupted. Repair your Measurement Studio installation, which will repair the licensing tools that are installed with it.

WAS THIS ARTICLE HELPFUL?

Not Helpful