Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Execute SSIS Package from SP or From Windows Application


Execute SSIS Package from SP or From Windows Application

Author
Message
vijayraj105
vijayraj105
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 50
Hello,

How to Execute a SSIS Package from Stored Procedure? Or From Windows Application?


thanks in advance.
Vijayraj
GAURAVKAUSHIK26
GAURAVKAUSHIK26
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 310
I think you can use dstrun.exe to execute the package. Since its an exe, u don't need to install it on client/destination pc.
Michael Earl-395764
Michael Earl-395764
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2993 Visits: 23078
An SSIS package can only be run on an SSIS Server of the appropriate Edition Level. Although you can author a package using BIDS on a machine with only the SQL Client tools installed, it will not run from the command line on that machine without SSIS installed. There is no included remote execution functionality for telling a package to run on the SSIS server from a client machine (other than the SQL Job agent, arguably). Running the package on a machine without the correct edition of SSIS installed gives a vague error message about insufficient product level.

An SSIS package can be executed from within an application using the DTExec command line or through the SSIS object model, but you must be on an SSIS server. So, if you intend to distribute an application that runs SSIS packages locally on a workstation, be prepared to purchase and install a SQL Server license on every client machine.

It is pretty easy to build a web service that will run an SSIS package on the server. It can then be called from a client machine and only require a SQL CAL rather than a full SSIS install on each machine.
vijayraj105
vijayraj105
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 50
Thanks for the reply.
i m succeded with DTExec command.
But not aware of how to use SSIS object model.
Paul_J
Paul_J
SSC-Enthusiastic
SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)

Group: General Forum Members
Points: 197 Visits: 637
Running a package from .NET code can be found here:
http://msdn.microsoft.com/en-us/library/aa337077.aspx
g.maclanca
g.maclanca
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 178
I found that it stopped working with the following sql statement
"Select col1,col2 from table1 where (col1 = " + @[User::IDMEDIUM] +")"

M.L.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search