Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

How to execute SSIS package from VB.NET Windows application?

Do I need VS2008 and SQL server on the same box? Or I can just copy Microsoft.SqlServer.ManagedDTS.dll  from sql server and paste it on the server where my vs2008 reside?


See this link
0
VBdotnet2005
Asked:
VBdotnet2005
1 Solution
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Don't know specifically about from VB.NET, but SSIS jobs can be executed via a command line from any box that has SQL Server installed...

dtexexc.exe /file c:\goo\foo\boo\your_package.dtsx /variableName="Some Value"
0
 
lcohanDatabase AnalystCommented:
Obviously in a production environment you will not have VS installed and running on your SQL Server box so you will need to write the app to reference(include) the DLL from the path where is on the SQL box. Please see link below for details:

http://social.msdn.microsoft.com/Forums/vstudio/en-US/c8092f56-8eed-4cd6-af84-685493c597dd/run-2008-ssis-package-from-vbnet-2010-program?forum=vbgeneral
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now