443th row in Excel

  • hello,

    yes that is a strange subject, but my SSIS package consistently dumps data starting on the 443th row in a FOR EACH loop container. :ermm: it could be one row or 1000 it always dumps the data start on the 443th row. Have you ever seen anything like this. what could cause this ?!?!

    Thanks!

  • What do you mean that it 'dumps' the data?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • I mean it populates rows in the Excel file via a Data Flow Task which contains an Ole DB source then a Data Conversion Task and then the Excel destination . the Excel file is created from a template that has all the column headers I need.

  • So all of this is inside a data flow and the data flow is inside a for each loop?

    Why the for each loop?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • No - it should not do that. For some reason, the Excel driver thinks that there is data in the spreadsheet in the preceding rows.

    Try recreating the template from File/New in Excel and then just copying in the headings you want to test this hypothesis.

    The absence of evidence is not evidence of absence.
    Martin Rees

    You can lead a horse to water, but a pencil must be lead.
    Stan Laurel

  • yes all that in a Data Flow in the for each loop. reason being (could be bad design) I have to loop through each task, then find all subtasks, push them out to an Excel file and then email each excel file to the person reponsible for that task and subtasks..

  • ok that did the trick, thank you! I recreated the xl file from scratch and now it is working beautifully!

  • That makes sense. I was just wondering if there was some funky looping logic that we needed to worry about.

    I would go w/ Phil's suggestion for now. Have you considered allowing SSIS to create the column headers instead of using the template method?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • Yes I have tried it and ran into too many issues which was the 443th issue, I thought it was not clearing the Sheet when actually it was but the data was on the 443th row :-D. SSCommitted (sleepy head picture) suggested the delete then copy template which suits my need! Appreciate you folks help a lot!

  • yosiasz (11/3/2009)


    Yes I have tried it and ran into too many issues which was the 443th issue, I thought it was not clearing the Sheet when actually it was but the data was on the 443th row :-D. SSCommitted (sleepy head picture) suggested the delete then copy template which suits my need! Appreciate you folks help a lot!

    My name's Phil you wally 🙂

    The absence of evidence is not evidence of absence.
    Martin Rees

    You can lead a horse to water, but a pencil must be lead.
    Stan Laurel

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply