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

SSIS Package run from Visual Studio but fails from SQL Server Agent with the Error: Exception has been thrown by the target of an Invocation.

$
0
0

HI,
I have an SSIS Package which goes to a website using http connection and gets a zip file and loads to the shared drive.
I am using script task to do this.
My package is running fine when I run it from Visual Studio but it is failing when I run from SQL Server Agent.
Below is the error I am getting.

FYI.. Below is the script task code I was using.

Can you please guide me on this?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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