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

Master package does not fail when child package fails

$
0
0

Hi all,

I created a master/child set up in SSIS using the "Execute Package task" that is called within a ForEach loop. The problem is that when the executed child fails, the task turns green and the next package is called.

This is the configuration I used:

  • The child task that fails has "FailPackageOnFailure" set to True, so that the whole child package fails;
  • The child package has "FailParentOnFailure" set to True, so that the error would be escalated to the master package;
  • The "Execute package" task in the master package has "FailPackageOnFailure" set to True

But this doesn't seem to work. I've played around with various configurations using "FailPackageOnFailure" and "FailParentOnFailure" on all different levels (child task, child package, master task, master package) but no luck so far.

On all levels, the MaximumErrorCount is set to 1, so that should be OK.

I'm using SQL Server 2008 R2.

Am I forgetting something here? Any help is greatly appreciated!

Cheers,
Kristof 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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