|
-
Sep 20th, 2010, 10:06 PM
#1
Thread Starter
Junior Member
Execution of SSIS Package
Hi,
I Just want to know is is possible to execute a ssis package from vb.net application?If so how to do that???
Please help me if anybody knows about this.
Thanks in advance.
-
Sep 20th, 2010, 10:13 PM
#2
Re: Execution of SSIS Package
I've recently deployed an application that executes a stored procedure in the database and that executes the package via xp_cmdshell. The obvious alternative would be SMO.
http://social.msdn.microsoft.com/Sea...20package&ac=3
-
Sep 20th, 2010, 10:32 PM
#3
Thread Starter
Junior Member
Re: Execution of SSIS Package
Hi,
can you tell me what you mean by smo???
Can you give me the syntax for execution of a package via xp_cmdshell???
Thanks for your reply.
-
Sep 20th, 2010, 11:10 PM
#4
Re: Execution of SSIS Package
http://social.msdn.microsoft.com/Sea...query=smo&ac=8
xp_cmdshell is an extended stored procedure in SQL server that you can use to execute applications. It is disabled by default for security reasons, so don't enable it lightly. Basically, you simply pass xp_cmdshell the same commandline that you would type into a console window to execute an application. In this case, the application you want to execute is DTEXEC, which is used to execute SSIS packages. That also makes me think that you could just call Process.Start to run DTEXEC too, assuming it's a Windows app. Consult MSDN for the options available when running DTEXEC, because the actual commandline will depend on your specific circumstances.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|