I am writing an application that will run the SSIS 2012 package using the Microsoft.SqlServer.ManagedDTS v 11.0 build. The package I'm trying to execute was designed and successfully executed from SSDT-2012 and has script components that process strings that are not passed correctly.
When I try to run my application, I get an error message for each of my script components:
SSIS.Pipeline: To run an SSIS package outside of SQL Server Data Tools, you must install [Script Component Name] Integration Services or higher.
Configuration: creating an application for x86 on Windows with the following app.config file:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration>
The only relevant code is:
using System; using System.Data; using System.Data.Common; using System.IO; using Microsoft.SqlServer.Dts.Runtime; class MyApp { public void ExecutePackage() {
Any ideas?
Maria source share