Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployed App trying to load wrong version NationalInstruments.common.dll

Hi, I'm a new user with version 8.9.0.246 of Measurement Studio Standard and I'm having trouble with deployment using VS 2008.  I've created the installer(msi) and setup.exe.  I installed it on a XP SP3 machine  and I get the following error:

 

An unhandled exception of type 'System.InvalidOperationException' occurred in Microsoft.VisualBasic.dll

Additional information: An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not load file or assembly 'NationalInstruments.Common, Version=8.9.35.302, Culture=neutral, PublicKeyToken=18cbae0f9955702a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

 

On my development machine I have in assemblys Version=8.9.35.302, of course of the machine I deployed to I dont have that version.  I have version 8.9.35.156. 

 

How to I get that assembly on to the machine where I deployed it?

 

Thanks,

 

Jerry

0 Kudos
Message 1 of 4
(3,979 Views)

Hello Jerry,

 

When you were creating your deployment did you follow though the steps in this article? Let me know if you are still having the issue after going through this. Have a great day!

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,959 Views)

Hi Adam,

 

I went back to a known point that worked and created my app again.  I got the deployment working with the earlier version  8.9.35.156.  It would be nice to know what caused it to be dependent on 8.9.35.302.  Any ideas?

 

I did follow your documentation when creating it the first time.  I also used the Measurement Studio help.

 

Thanks,

 

Jerry

0 Kudos
Message 3 of 4
(3,939 Views)

Hello Jerry,

 

I am not sure what could have caused it to become dependent on that build. It could be that the later version did not get transfered to the deployment machine which caused the problem. 

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,924 Views)