![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have migrated several DTS packages to SSIS (re-written) and I'm trying to improve the logging. I currently have a execute sql task which logs to a database table on the OnTaskFailed event, I can get the name of the task which has failed using expressions and 'System:SourceName' but is there any way to get a detailed error message to dianose why the task failed? I've noticed that SSIS seems to provide less information in this respect than DTS even when executing interactively, for example if an Execute SQL tasks uses a user defined function and it doesn't exist or permissions are not granted you would get a message stating that in DTS wherewas SSIS seems just to say task failed...perhaps this is my ignorance and there is a way to see this.... Any help in this area would be appreciated. |
#3
| |||
| |||
|
|
Hello Neil, Have you looked at On Error event handlers? These give you an error code + description Allan Mitchell www.SQLDTS.com www.SQLIS.com www.Konesans.com Hi, I have migrated several DTS packages to SSIS (re-written) and I'm trying to improve the logging. I currently have a execute sql task which logs to a database table on the OnTaskFailed event, I can get the name of the task which has failed using expressions and 'System:SourceName' but is there any way to get a detailed error message to dianose why the task failed? I've noticed that SSIS seems to provide less information in this respect than DTS even when executing interactively, for example if an Execute SQL tasks uses a user defined function and it doesn't exist or permissions are not granted you would get a message stating that in DTS wherewas SSIS seems just to say task failed...perhaps this is my ignorance and there is a way to see this.... Any help in this area would be appreciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |