I am having the same problem but been through my projects and can not see where it is referencing this version. What makes it even more annoying s that i have to applications calling the same code one application works and the other throws this exception on the common code. The applications are not referencing the NationalInstruments.Common library it is only the common code that does that
Does anyone have any ideas please?
Are both of Your applications calling the common code in the same way? Are they using exactly the same functions from the library? We can't help You without knowing the details of Your application. You should try to debug the code by Yourself. Find exactly the moment, when the error occurs, using conditional breakpoints or other debugging techiniques.
I am having the same problem actually. I have installed (and removed and reinstalled) Measurement studio v 8.0.1 , and am receiving this error.
Currently I'm trying to use the NI 488.2 libraries to communicate via GPIB, but when attempting to run my program it gives the same exception that is listed in the first post.
My highest version of nationalinstruments.common.dll is 18.104.22.1680, and I don't have any 22.214.171.124 versions on my computer at all. I've checked the license file and done the suggestions in the Measurement Studio help files about refreshing license files, but this exception still persists. This has me completely baffled and I would like to get some progress on this issue. Is there any patch I can download to obtain 126.96.36.199 ?
For me it is the same problem, but I test the solution and it's doesn't change the problem.
I use Visual studio 2008 with mesurment studio 8.1.2.
Before I try apply in visual studio 2003 and it's OK.
Please see this KB, it might be helpful: http://digital.ni.com/public.nsf/allkb/46DE00265283A71586256FC000797682?OpenDocument
If this doesn't help, search your PC for all instances of this library and check their versions. Also let us know the version your application requires (is it the same as in the first post?)