Solved

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

Posted on 2014-01-29
2
263 Views
Last Modified: 2016-02-10
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
Comment
Question by:VBdotnet2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Expert Comment

by:Jim Horn
ID: 39819617
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
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 39824353
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Asp.Net Session Question 2 34
find SQL job run average duration 24 55
Parsing this XML works but the other one doesn't 9 28
YouTube API get the Video Tags - vb.net 7 29
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question