RE: Child Package Wont Fail Parent
From: HWUK (HWUK_at_discussions.microsoft.com)
Date: 11/03/04
- Next message: Jéjé: "Re: overflow error (convert from numeric to numeric)"
- Previous message: Jason: "Re: importing multiple textfiles"
- In reply to: Blair: "Child Package Wont Fail Parent"
- Next in thread: Blair: "Re: Child Package Wont Fail Parent"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 05:13:03 -0800
No matter the result of the child package the package task in the parent will
always show a success (apart for times that the child dosn't exist) because
it has run it. A solution would be for the child to generate a global
variable indicating its result and hte parent using it to decide wheter to
contine or not.
"Blair" wrote:
> I have gone through quite a number of threads where people had similar
> problem: parent package calls child package, a step in child fails,
> child completes anyway, parent doesnt fail.
>
> As per the other threads, I have set the following logging properties:
>
> In child package / package properties / logging tab:
> - Fail Package on First Error
>
> In parent package / execute package task / workflow properties /
> options:
> - Join Transaction if Present
> - Rollback Transaction on Failure
>
>
> The issue doesnt go away, though. Parent/child still happily
> completes.
>
>
> ....I've also iterated and tried a number of additional things
> including:
> - Execute on Main Package Thread (in parent / workflow prop / options)
> - Fail Package on First Error (in parent properties)
>
>
> The issue doesnt go away, though. Parent/child still happily
> completes.
>
>
>
>
> ....HELP!!...
>
>
> -Blair.
>
- Next message: Jéjé: "Re: overflow error (convert from numeric to numeric)"
- Previous message: Jason: "Re: importing multiple textfiles"
- In reply to: Blair: "Child Package Wont Fail Parent"
- Next in thread: Blair: "Re: Child Package Wont Fail Parent"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|