Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Wscript not running in dtsx package

$
0
0

Hi,<o:p></o:p>

<o:p> </o:p>

I have
several packages that use the wscipt shell to execute the SQL packages. As of recent
my packages bomb when trying to execute the wscript shell. I can execute the
shell command from the cmd prompt and also tried turning off the virus scanner.<o:p></o:p>


I’ve provide a simple sample below.

Function Main()

    Dim  oShell  

    Set oShell = CreateObject("wscript.shell") 
    oShell.Run "dtexec /F C:\DTSPackages\IntegrationServices\IntegrationServices\Ful_OrderImport.dtsx" 

    Main = DTSTaskExecResult_Success

End Function

Could I have turned off an option that prevents calling up the wscript shell?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>