Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ssis:errors_in_script_tasks_and_components [2020/01/26 19:25]
admin
ssis:errors_in_script_tasks_and_components [2020/01/26 19:26] (current)
admin [Errors in script tasks and components]
Line 1: Line 1:
 ====== Errors in script tasks and components ====== ====== Errors in script tasks and components ======
 <WRAP group> <WRAP group>
-<​WRAP ​40% column>+<​WRAP ​35% column>
 Unhandled errors thrown out of SSIS script tasks are usually accompanied by the message "​Exception has been thrown by the target of an invocation"​ -- this isn't very informative! ​ Unhandled errors thrown out of SSIS script tasks are usually accompanied by the message "​Exception has been thrown by the target of an invocation"​ -- this isn't very informative! ​
  
 A more manageable approach is to wrap as much of your code as possible inside a ''​try''/''​catch'',​ then raise caught errors to SSIS for cleaner failure and easier diagnosis. This article shows you how to do that. A more manageable approach is to wrap as much of your code as possible inside a ''​try''/''​catch'',​ then raise caught errors to SSIS for cleaner failure and easier diagnosis. This article shows you how to do that.
 </​WRAP>​ </​WRAP>​
-<​WRAP ​40% column>+<​WRAP ​35% column>
 {{:​ssis:​scripttaskerror.png?​nolink&​350|}} {{:​ssis:​scripttaskerror.png?​nolink&​350|}}
 </​WRAP>​ </​WRAP>​