<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.developerdotstar.com/community" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>developer.* Blogs - My Issues With SSIS Event Handlers (And Why I&amp;#039;ll Use Them Anyway) - Comments</title>
 <link>http://www.developerdotstar.com/community/node/334</link>
 <description>Comments for &quot;My Issues With SSIS Event Handlers (And Why I&#039;ll Use Them Anyway)&quot;</description>
 <language>en</language>
<item>
 <title>SSIS task constraints</title>
 <link>http://www.developerdotstar.com/community/node/334#comment-4975</link>
 <description>&lt;p&gt;The &quot;On Completion&quot; Task constraint appears to work fine for &quot;Excecute SQL&quot; Tasks, but not for &quot;Data Flow&quot; Tasks.  A couple of suggestions that worked for me:&lt;/p&gt;
&lt;p&gt;1)  Of course, set the Task Properties of to not fail the Package on failure of the Task.&lt;br /&gt;
2)  Set the Max # of allowed errors on the Task to some very large number (see Task Properties).&lt;br /&gt;
3)  Set the Task to &quot;Delay Validation&quot; (this setting is also found under Task Properties).  &lt;/p&gt;
&lt;p&gt;After taking these three steps, my &quot;Data Flow&quot; Task fails with an &quot;On Completion&quot; constraint, but the Package succeeds.  IE, once the Data Flow Task is done, the next Task continues.  Just like you&#039;d think it would intuitively.  &lt;/p&gt;
&lt;p&gt;I think this same behavior works with Task Containers.  &lt;/p&gt;
&lt;p&gt;Hope this makes sense.&lt;/p&gt;
</description>
 <pubDate>Thu, 08 Feb 2007 15:06:54 -0800</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 4975 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Hiding Errors To Allow Package Success</title>
 <link>http://www.developerdotstar.com/community/node/334#comment-1384</link>
 <description>&lt;p&gt;I&#039;ll admit I have found getting to grips with Event Handlers a very frustrating experience due to the lack of control inherent in the design.  I like the fact that events only need to be defined at the very top level except when, as inevitably happens, you want to deviate from this.  &lt;/p&gt;
&lt;p&gt;One problem I&#039;m having at the moment is with error capture.  I have an &lt;cite&gt;Execute SQL Task&lt;/cite&gt; that calls a stored procedure on a DB that may be unavailable.  I don&#039;t care whether this fails or not as it&#039;s just logging. However, I do care that any failure will not cause the package to fail.  &lt;/p&gt;
&lt;p&gt;On the task I can force the execution result to &lt;cite&gt;Success&lt;/cite&gt; (this visibly works at design and debug time).  However, the top (package) level OnError Event Handler still fires.  This indicates the error is still being detected despite the task being forced to exit with &lt;cite&gt;Success&lt;/cite&gt;.  Well that&#039;s OK as I&#039;d still like to see the error in DTExec output.  The problem is the final return from the Package is still &lt;cite&gt;Failure&lt;/cite&gt; despite the aforementioned task &lt;cite&gt;Success&lt;/cite&gt;.  &lt;/p&gt;
&lt;p&gt;I can find no way of stopping this final &lt;cite&gt;Failure&lt;/cite&gt;.  I can&#039;t force success at the package level because I do want some errors to bubble up and report a package failure.&lt;/p&gt;
&lt;p&gt;What&#039;s most infuriating about all of this is reading the properties as allowing one thing while SSIS continues to do something different.  Most of the problems are down to the fact I find the properties ambiguously or poorly named.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;SSIS is a nice idea poorly implemented.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Like you however, I&#039;ll still continue to fight with SSIS and it&#039;s event handlers.  It&#039;s more down to &lt;cite&gt;needs must&lt;/cite&gt; rather than desire.&lt;/p&gt;
</description>
 <pubDate>Tue, 15 Aug 2006 05:56:57 -0700</pubDate>
 <dc:creator>Craig</dc:creator>
 <guid isPermaLink="false">comment 1384 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Related Discussion at Jamie Thomson&#039;s Blog</title>
 <link>http://www.developerdotstar.com/community/node/334#comment-777</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://blogs.conchango.com/jamiethomson/archive/2006/01/19/2671.aspx&quot;&gt;Follow this link to read a great response to this post from Jamie Thomson&lt;/a&gt;. There is some follow on discussion there also.&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;
Dan&lt;/p&gt;
</description>
 <pubDate>Thu, 19 Jan 2006 17:24:42 -0800</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">comment 777 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>My Issues With SSIS Event Handlers (And Why I&#039;ll Use Them Anyway)</title>
 <link>http://www.developerdotstar.com/community/node/334</link>
 <description>&lt;p&gt;In this post I will document some of the observations and conclusions I have come to in the process of hammering on the event handler functionality of SSIS, trying to see how it ticks, making sure I understand I can use it properly in my system, which is a multi-package system with some specific logging, exception handling, and monitoring requirements.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.developerdotstar.com/community/node/334&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.developerdotstar.com/community/node/334#comment</comments>
 <category domain="http://www.developerdotstar.com/community/taxonomy/term/57">SQL Server 2005</category>
 <category domain="http://www.developerdotstar.com/community/taxonomy/term/58">SSIS (SQL Server Integration Services)</category>
 <pubDate>Wed, 18 Jan 2006 17:54:21 -0800</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">334 at http://www.developerdotstar.com/community</guid>
</item>
</channel>
</rss>
