Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003

    Unanswered: Execute SSIS Package from SP without xp_cmdshell?

    A developer needs to execute an SSIS package from a stored procedure and I do not want to enable xp_cmdshell on SQL 2005.

    One suggestion is to have the application invoke dtexec on the client PC, but this would cause the package to be executed on the client and also requires some SSIS components be installed on each client.

    Another idea is to configure a Windows Service to execute dtexec, but I do not know the risks of this approach. Any thoughts?

    Thanks, Dave

  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    I did something like this a long time ago in VB by creating an exe or dll in VB using the CmdExec. I placed the exeutable on the web server and my app call it.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts