Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-01-29
2
Medium Priority
?
277 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
2 Comments
 
LVL 66

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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

972 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