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.
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.