<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>dtexecRemote</title><link>http://code.msdn.microsoft.com/dtexecRemote/Project/ProjectRss.aspx</link><description>Remote execution of SSIS packages.</description><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt;From time to time people ask me hot to run an SSIS package remotely.  SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server.  So if you'd like to kick off an SSIS package from a web page or some other kind of application, you generally can't just invoke the SSIS runtime directly or shell out to dtexec.exe.  Even if you could, the SSIS runtime is already installed on your SQL Servers, and running SSIS packages on application boxes often requires pushing data needlessly across the network.&lt;br /&gt; &lt;br /&gt;I always tell people that the basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job by calling sp_start_job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, which can be done from any programming language, or on the command line with SqlCmd.exe.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a temporary Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects (SMO).  Often in an application it will be easier to just paste this SMO code into your project and interact with SQL Agent directly from your own code instead of shelling out to dtexecRemote.exe.  &lt;br /&gt; &lt;br /&gt;To build and run this sample, you will need to install SMO, which is available for download as part of the Microsoft SQL Server 2008 Feature Pack &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  This sample is built against the SQL 2008 version of SMO which should work just fine.  Also if you change the references in the project it shold run against the older SQL 2005 version of SMO too.  It's just interacting with SQL Agent, which didn't really change between 2005 and 2008.&lt;br /&gt; &lt;br /&gt;This is a source code sample, and the easiest way to build it is using Visual Studio 2008.  However, like all Visual Studio projects, you can also build this project using msbuild from the command line.  Msbuild.exe is part of the .NET framework, available for download here: &lt;a href="http://msdn.microsoft.com/en-us/netframework/default.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/netframework/default.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Fri, 05 Dec 2008 02:31:02 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081205A</guid></item><item><title>CREATED RELEASE: dtexecRemote Project Source Code (Dec 04, 2008)</title><link>http://code.msdn.microsoft.com/dtexecRemote/Release/ProjectReleases.aspx?ReleaseId=1896</link><description></description><author></author><pubDate>Fri, 05 Dec 2008 02:26:02 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: dtexecRemote Project Source Code (Dec 04, 2008) 20081205A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt;From time to time people ask me hot to run an SSIS package remotely.  SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server.  So if you'd like to kick off an SSIS package from a web page or some other kind of application, you generally can't just invoke the SSIS runtime directly or shell out to dtexec.exe.  Even if you could, the SSIS runtime is already installed on your SQL Servers, and running SSIS packages on application boxes often requires pushing data needlessly across the network.&lt;br /&gt; &lt;br /&gt;I always tell people that the basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job by calling sp_start_job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, which can be done from any programming language, or on the command line with SqlCmd.exe.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a temporary Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects (SMO).  Often in an application it will be easier to just paste this SMO code into your project and interact with SQL Agent directly from your own code instead of shelling out to dtexecRemote.exe.  &lt;br /&gt; &lt;br /&gt;To build and run this sample, you will need to install SMO, which is available for download as part of the Microsoft SQL Server 2008 Feature Pack &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  This sample is built against the SQL 2008 version of SMO which should work just fine.  Also if you change the references in the project it shold run against the older SQL 2005 version of SMO too.  It's just interacting with SQL Agent, which didn't really change between 2005 and 2008.&lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Thu, 30 Oct 2008 23:58:54 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081030P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt;From time to time people ask me hot to run an SSIS package remotely.  SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server.  So if you'd like to kick off an SSIS package from a web page or some other kind of application, you generally can't just invoke the SSIS runtime directly or shell out to dtexec.exe.  Even if you could, the SSIS runtime is already installed on your SQL Servers, and running SSIS packages on application boxes often requires pushing data needlessly across the network.&lt;br /&gt; &lt;br /&gt;I always tell people that the basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job by calling sp_start_job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, which can be done from any programming language, or on the command line with SqlCmd.exe.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it would you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects.  Often in an application it will be easier to just paste this SMO code into your project and interact with SQL Agent directly from your own code, instead of shelling out to dtexecRemote.exe.  &lt;br /&gt; &lt;br /&gt;To build and run this sample, you will need to install SMO, which is available for download as part of the Microsoft SQL Server 2008 Feature Pack &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  This sample is built against the SQL 2008 version of SMO which should work just fine.  Also if you change the references in the project it shold run against the older SQL 2005 version of SMO too.  It's just interacting with SQL Agent, which didn't really change between 2005 and 2008.&lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Thu, 30 Oct 2008 23:57:27 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081030P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt;From time to time people ask me hot to run an SSIS package remotely.  SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server.  So if you'd like to kick off an SSIS package from a web page or some other kind of application, you generally can't just invoke the SSIS runtime directly or shell out to dtexec.exe.  Even if you could, the SSIS runtime is already installed on your SQL Servers, and running SSIS packages on application boxed often requires pushing data needlessly across the network.&lt;br /&gt; &lt;br /&gt;I always tell people that the basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job by calling sp_start_job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, which can be done from any programming language, or on the command line with SqlCmd.exe.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it would you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects.  Often in an application it will be easier to just paste this SMO code into your project and interact with SQL Agent directly from your own code, instead of shelling out to dtexecRemote.exe.  &lt;br /&gt; &lt;br /&gt;To build and run this sample, you will need to install SMO, which is available for download as part of the Microsoft SQL Server 2008 Feature Pack &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  This sample is built against the SQL 2008 version of SMO which should work just fine.  Also if you change the references in the project it shold run against the older SQL 2005 version of SMO too.  It's just interacting with SQL Agent, which didn't really change between 2005 and 2008.&lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Thu, 30 Oct 2008 22:01:10 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081030P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Moreover SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server. &lt;br /&gt; &lt;br /&gt;The basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job using ADO.NET by calling sp_start_job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it would you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects.  To build and run this sample, you will need to install SMO, which is available for download as part of the Microsoft SQL Server 2008 Feature Pack &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en" class="externalLink"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&amp;amp;displaylang=en&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.  This sample is built against the SQL 2008 version of SMO which should work just fine.  Also if you change the references in the project it shold run against the older SQL 2005 version of SMO too.  It's just interacting with SQL Agent, which didn't really change between 2005 and 2008.&lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Thu, 30 Oct 2008 21:54:43 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081030P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/dtexecRemote/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;Remote execution of SSIS packages.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Moreover SQL Server Integration Services (SSIS) is a component of SQL Server, and any server running SSIS packages must be licenced for SQL Server. &lt;br /&gt; &lt;br /&gt;The basic method for remote execution of SSIS package is to deploy the package to a SQL Server, create a SQL Agent job to run the package and remotely kick off the SQL Agent job using ADO.NET by calling sp&lt;i&gt;start&lt;/i&gt;job &lt;a href="http://technet.microsoft.com/en-us/library/ms186757.aspx" class="externalLink"&gt;http://technet.microsoft.com/en-us/library/ms186757.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;But this isn't a very good solution if you need to pass parameters to the package, dynamically choose the package at runtime, change the pakage configuration, wait for the package execution to complete or see the error output of the package.  In these cases it would you can just run dtexec.exe &lt;a href="http://msdn.microsoft.com/en-us/library/ms162810.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms162810.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; on the commandline.  But dtexec is part of SSIS and can only be run on the SQL Server box, not on an application server.&lt;br /&gt; &lt;br /&gt;This sample shows how to achieve the functionality of dtexec from a remote box.  It's packaged as a command line program that takes exactly the same command line parameters as dtexec, but instead of running the package locally, it connects to SQL Server Agent on a remote SQL Server, creates a Job to run the requested package with the requested command line, executes the Job, waits for the Job to finish, captures the job history and deletes the Job.&lt;br /&gt; &lt;br /&gt;This code also shows how to create and execute a SQL Agent Job through code using SQL Server Management Objects&lt;br /&gt;
&lt;/div&gt;</description><author>dbrowne</author><pubDate>Thu, 30 Oct 2008 21:48:56 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081030P</guid></item></channel></rss>