Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

i have an InvalidOperationException using vb2010.The error is:Mixed mode assembly is built against version2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

I am using the USB6008 and VB2010 and i get this InvalidOperationException was unhandled when the programme tries to load the start up form.

What additional configuration information is still required?

0 Kudos
Message 1 of 2
(3,151 Views)

This seems to be a compatibility issue with your version of the .NET framework. You could try resolving this by creating a configuration file for your application and specifying useLegacyV2RuntimeActivationPolicy=”true” for the startup tag. Take a look at the following document, specifically the last paragraph. It provides a little more detail on the error message you’re seeing.

 

http://digital.ni.com/public.nsf/allkb/B041EF3CAF634FD98625770500509298?OpenDocument

0 Kudos
Message 2 of 2
(3,114 Views)