Solved

SSIS Exit/Stop Package

Posted on 2012-03-19
3
1,245 Views
Last Modified: 2012-03-20
I am using a script task manager that removes a password from a file, then processes the file.
what i want to do is exit the package if the file or the folder does not exist.

i have tried             Dts.TaskResult = ScriptResults.Failure
but the rest of the package continues to run.


Thanks.
0
Comment
Question by:aneilg
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
brad2575 earned 500 total points
ID: 37737370
You can build an if logic in your flow, if you double click on the flow line from the file check/import to the rest of the work, there is IF Success, if variable == value, etc, then proceed, if not do something else (follow other flow).
0
 

Author Comment

by:aneilg
ID: 37737577
cool thanks, i was think too much about the problem.
0
 

Author Closing Comment

by:aneilg
ID: 37741711
cool, thanks.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question