cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

Former Member
0 Kudos

I have just converted from VS2008 to VS2010 and also CR for VS2010. I have loaded up through service pack 2 and I am getting this error in all my CR report jobs. I have trued uninstalling the old VS2008 versions of CR for .Net. i have tried adding an APP.CONFIG :

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"/>

  </

startup>

Still have the error. Can anyone shed light upon what i am missing.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you for your help on this!

I did as you suggested but still had the same problem.

This meant that I was doing something wrong on my part.  It turned out that the problem was caused by the way I had set a shortcut to the exe for my application.

Once I did this differently, and thus correctly, everything worked fine.

Thanks again for your help.

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

Is this on your development computer?

Are you running the app from the .NET IDE or the app exe?

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

I have the same problem when I deployed my CRs on my development computer. I am using Win 7 64 bit.  I have CR 13 installed but it says version V2.0.50727 and I am using Framework 4 in my VB program.

0 Kudos

CR still has dependencies on 2.0 Framework so it is required to be installed on the host PC's. Property of ADO.NET.

MS by default installs them anyways so should not be an issue.

13.0.2000.0 is GAC version, actual runtime is 13.x.0.xxxx versions.

Don

Former Member
0 Kudos

This is what I have but I am still getting the message.

What should I do?

Former Member
0 Kudos

See if this is a clue to my problem.  Note that this does not say Framework 4!  Taken from Control Panel.

Former Member
0 Kudos

I just noticed that your have an entry for  "Aliases    global" in your Properties whereas I don't  have this entry.  Is this important?

0 Kudos

Hi Dennis,

Did you install the VS installer and run the MSI Redist Package? That is likely why you have 3 listings for the CR for VS in you Programs and feature.

The 32 bit package is a different date than the 2 other ones and from the date on those two it would appear you are not using the latest Service Pack and installed whatever SP on Feb 22, 2014.

So uninstall all 3 and then install only this one:

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_10.exe

when it asks if you want the 64 bit runtime click OK.

DO NOT install the runtime package on your DEV PC. You may need to do a Repair install on VS 2010 also but may not also.

I don't know why you don't have the Global option, but could be because your install is messed up. Also, when adding the CR assemblies DO NOT Browse to them, use the .NET assembly tab to add them.

Don