I am trying to execute an SSIS package programmatically using C #.
Application app = new Application(); Package package = app.LoadPackage(pkgFullPath, null); package.Execute();
I get an error message:
Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline : To run a SSIS package outside of SQL Server Data Tools you must install Conditional Split of Integration Services or higher. Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline : To run a SSIS package outside of SQL Server Data Tools you must install Lookup of Integration Services or higher.
I am using SSIS in Visual Studio 2010, but I am executing C # code from the nunit test in VS 2012 (.Net 4.0 works)
The package works fine in the SSIS project in VS 2010 if I start it using debugging (press F5), but it does not work with the same error if I try to start it using dtexec from the command line (the same failure in both 32 and 64-bit version of dtexec). It also fails with the same error if I ran it from within Visual Studio using ctrl + F5 (without debugging)
I found articles on the Internet that suggest this is due to a 64-bit problem with 32-bit versions, but I see the same error when starting both versions of dtexec. I am using dtexec version 11.0.2100.60, which corresponds to the version of SQL Server Integration Services Designer in VS 2010.
I do not get an error if I run a simple package without conditional split and search. Do I have to install something extra to run this outside of Visual Studio?
Any ideas?
c # sql-server ssis
Tgh
source share