We help IT Professionals succeed at work.

SSIS - Mixed Mode Assembly Error

Last Modified: 2017-04-24
I'm trying to run a test SSIS package using DTEXEC.EXE.   The package, which ONLY has an Execute SQL in it, runs fine in Visual Studio Version 12.

When I run from command line using DTEXEC.EXE, i get the following error:  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

I've searched the web and found the suggestion to add useLegacyV2RuntimeActivationPolicy="true".  If that's true for me in SSIS, I do not know how to do it.
Watch Question

Megan BrooksSQL Server Consultant

Are you calling into a custom assembly from within your RDL -- I.e. does your RDL contain an explicit assembly reference? (The execution behavior can be different depending on whether you are running inside of VS or not.)


No assembly.  This is just a basic SSIS package with basically nothing in it, except an "Execute SQL" statement.  No coding at all.
SQL Server Consultant
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)


It is a version issue.  thank you

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions