<?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 - SSIS Bulk Insert Task Error: &amp;quot;system cannot find the file specified&amp;quot; - Comments</title>
 <link>http://www.developerdotstar.com/community/node/347</link>
 <description>Comments for &quot;SSIS Bulk Insert Task Error: &quot;system cannot find the file specified&quot;&quot;</description>
 <language>en</language>
<item>
 <title>Detecting Empty Input File</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-1205</link>
 <description>&lt;p&gt;There might be an explicit setting that I don&#039;t know about,  and if we were speaking in person I might ask what downstream response you would like to engineer when you&#039;ve encountered an empty file. What I mean is, do you want to do something procedurally in your Control of Flow based on that information, or do you want to respond somehow within a Data Flow?&lt;/p&gt;
&lt;p&gt;One idea is to use a Script Task to use System.IO.File to determine the size of the file. If it&#039;s zero, it&#039;s empty, but that won&#039;t help you if an empty file can contain a header row. You might need to do something more fancy in the Script Task, such as perhaps opening the file.&lt;/p&gt;
&lt;p&gt;Also, I&#039;m not sure how useful it would be in your situation, but there is also a Row Count Transformation in the Data Flow toolbox that will count the rows that flow through it and store the result in a package variable.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br /&gt;
Dan&lt;/p&gt;
</description>
 <pubDate>Tue, 20 Jun 2006 07:40:46 -0700</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">comment 1205 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Missing file notification?</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-1204</link>
 <description>&lt;p&gt;Is there anyway to get some type of notification from the import package when it encounters an empty file?&lt;/p&gt;
</description>
 <pubDate>Tue, 20 Jun 2006 06:54:45 -0700</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 1204 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Use an Empty File</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-1202</link>
 <description>&lt;p&gt;We solved a similar situation by using a dummy empty file, which seems to work fine. If there&#039;s a better way, I don&#039;t know about it.&lt;/p&gt;
&lt;p&gt;Best of luck,&lt;br /&gt;
Dan&lt;/p&gt;
</description>
 <pubDate>Mon, 19 Jun 2006 09:53:16 -0700</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">comment 1202 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Dealing with missing import file(s)</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-1201</link>
 <description>&lt;p&gt;I&#039;m really new to SSIS and I&#039;ve been working on a package to import flat files. Everything works fine unless the import file is missing of course. What I haven&#039;t been able to figure out is how to get the package to run inspite of a missing file, for example in the event that there is no data to be imported on any given day. I&#039;ve thought about just placing an empty file, but there has got to be a better way.&lt;/p&gt;
&lt;p&gt;Thanks for any suggestions/help&lt;/p&gt;
</description>
 <pubDate>Mon, 19 Jun 2006 08:40:28 -0700</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 1201 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>SSIS Feedback</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-829</link>
 <description>&lt;p&gt;Hi Jamie,&lt;/p&gt;
&lt;p&gt;Thanks for the comments. I hope the items on my wish list don&#039;t come across as too negative to the SSIS team. Many of them were composed in heated moments when I was feeling that particular frustration. :-)&lt;/p&gt;
&lt;p&gt;Re: the Framework folder at runtime: yes, I had seen something on that, thanks. It&#039;s apparent that this DLL/GAC reference issue is not really an SSIS issue but more of a Visual Studio for Applications issue.&lt;/p&gt;
&lt;p&gt;Re: setting the connection manager property with an expression, pulling from a variable: I had gone away from that because I experienced some issues with *when* the expression is evaluated. It was not working the way I thought it should, so I did a little research and found out that the expression is evaluated on Validation. In this particular case, the tasks were inside of a ForEach container, and the Validation was not happening on each iteration--or something like that. So I put in a script task that will move the value from the variable to the connection manager on each iteration.&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
</description>
 <pubDate>Mon, 06 Feb 2006 13:42:47 -0800</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">comment 829 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Idle comment</title>
 <link>http://www.developerdotstar.com/community/node/347#comment-828</link>
 <description>&lt;p&gt;Hi Dan,&lt;br /&gt;
Apologies if I&#039;m posting this in the wrong place...&lt;/p&gt;
&lt;p&gt;great post on the SSIS Requests thread today (&lt;a href=&quot;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=89737&amp;amp;SiteID=1&amp;amp;PageID=9&quot; title=&quot;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=89737&amp;amp;SiteID=1&amp;amp;PageID=9&quot;&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=89737&amp;amp;SiteID=1&amp;amp;Pag...&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Just a couple of points.&lt;br /&gt;
You know that DLLs don&#039;t have to be in the C:\...Framework\... folder at runtime right?&lt;/p&gt;
&lt;p&gt;You can store connection strings in variables and use expressions to assign them to a connection manaager. i talk about this a bit here: &lt;a href=&quot;http://blogs.conchango.com/jamiethomson/archive/2005/12/05/2462.aspx&quot; title=&quot;http://blogs.conchango.com/jamiethomson/archive/2005/12/05/2462.aspx&quot;&gt;http://blogs.conchango.com/jamiethomson/archive/2005/12/05/2462.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Other than that I agree with jsut about everything you say. One other similar developer productivity type thing I&#039;d like to see is to drop a task onto a precedence constraint (or a component onto a data path) and have it automatically placed intbetween the 2 tasks/components that the precedence constraint/data path is between. This is similar to your request to be able to drag a precedence constraint from one task to another.&lt;/p&gt;
&lt;p&gt;Anyway, great post. Have you thought about logging these things at the feedback center (&lt;a href=&quot;http://lab.msdn.microsoft.com/productfeedback/default.aspx&quot; title=&quot;http://lab.msdn.microsoft.com/productfeedback/default.aspx&quot;&gt;http://lab.msdn.microsoft.com/productfeedback/default.aspx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;-Jamie&lt;/p&gt;
</description>
 <pubDate>Mon, 06 Feb 2006 12:59:04 -0800</pubDate>
 <dc:creator>Jamie Thomson</dc:creator>
 <guid isPermaLink="false">comment 828 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>SSIS Bulk Insert Task Error: &quot;system cannot find the file specified&quot;</title>
 <link>http://www.developerdotstar.com/community/node/347</link>
 <description>&lt;p&gt;This one might be obvious, I suppose, to people with experience with the Bulk Insert task from previous SQL Server versions, but this information it was new to me.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.developerdotstar.com/community/node/347&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.developerdotstar.com/community/node/347#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>Tue, 31 Jan 2006 07:41:19 -0800</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">347 at http://www.developerdotstar.com/community</guid>
</item>
</channel>
</rss>
