Avatar of rick
 asked on

SSIS - Mixed Mode Assembly Error

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.
AssemblySSISMicrosoft Visual Studio

Avatar of undefined
Last Comment

8/22/2022 - Mon
Megan Brooks

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

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

It is a version issue.  thank you
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.