?
Solved

SSIS Exit/Stop Package

Posted on 2012-03-19
3
Medium Priority
?
1,291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
brad2575 earned 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

752 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