10-02-2010 02:54 PM
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
10-04-2010 11:19 AM
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
10-04-2010 10:52 PM - edited 10-04-2010 10:54 PM
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
10-05-2010 11:31 AM
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