dbTalk Databases Forums  

get error message on error in SSIS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss get error message on error in SSIS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM






On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #12  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM






On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #13  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM



On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #14  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM



On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #15  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM



On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #16  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM



On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
  #17  
Old   
parez
 
Posts: n/a

Default Re: get error message on error in SSIS - 09-16-2008 , 10:17 AM



On Sep 4, 9:35*pm, Todd C <To... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I, too, have agonized over this one. Use the Expression Editor and look for a
variable called [System::Source]. That should contain the name of the
offending Task. However, I have to tell you that I have only accessed this
variable from withing the Event Handler portion and cannot say for certain
that it is available in the regular Control Flow.

HTH
--
Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

"parez" wrote:
Hi All,

I have an an ssis package with a lot of sql tasks. After finishing the
first task it goes to the next and so on.
All tasks on error (the red line) go to one sql task where I update
the status of the request. How do i get the actual error message in
the the error Sql task

TIA
Thanks. I will check and see if it is available in the regular flow
and post again.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.