locked
Getting errors - not sure about them RRS feed

  • Question

  • Hi everybody,

    I want to run a package that has for-loop container and data flow from a flat file into database table. I need to skip the second row in the file (the first row is the column names, the second - some garbage, the rest is data). In the Flat File Connection Manager I have set Data Rows to skip 1. The preview shows everything correctly, however when I try to run it I get this error

    Warning: 0x80049304 at Data Flow Task, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
    Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
    Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
    Information: 0x402090DC at Data Flow Task, Flat File Source [11]: The processing of file "file name here" has started.
    Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
    Error: 0xC0202091 at Data Flow Task, Flat File Source [11]: An error occurred while skipping data rows.
    Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Flat File Source returned error code 0xC0202091.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
    Information: 0x402090DD at Data Flow Task, Flat File Source [11]: The processing of file "file name here" has ended.
    Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "OLE DB Destination" wrote 0 rows.
    Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.

    ----------------

    What does this error mean and how can I resolve it?

    Also, I'm running this through RDP and I don't have admin password, I can only run every program as a user.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog


    My TechNet articles


    • Edited by Naomi N Sunday, May 3, 2020 2:18 AM
    Sunday, May 3, 2020 2:17 AM

Answers

All replies

  • I tried to import one of the files manually doing same things through Tasks/Import. I got exactly the same error when I tried to skip 1 row. I then tried without skipping a row and then it failed because the columns are delimited with " and inside one of the column in the middle of the file where is a text in double quotes :(

    What am I supposed to do? Am I supposed to not skip the first row since it doesn't work? How should I deal with the problem of data having something inside the text with " ?

    Thanks in advance.


    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog


    My TechNet articles


    • Edited by Naomi N Sunday, May 3, 2020 3:11 AM
    Sunday, May 3, 2020 3:10 AM
  • Hi Naomi,

    Please try to click flat file connection properties - Look for the property "AlwaysCheckForRowDelimeters"

    -SET it to FALSE.

    The following links will be helpful:

      SSIS read flat file skip first row

      Error: An error occurred while skipping data rows

    Best Regards,

    Mona


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, May 4, 2020 3:12 AM
  • Hi Naomi,

    May I know if you have anything to update?

    Best Regards,

    Mona


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, May 21, 2020 9:40 AM
  • I actually imported including that extra row, but I'm sure your link should have helped so next time I'll use that approach instead.

    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog


    My TechNet articles

    Thursday, May 21, 2020 10:20 PM
  • Hi Naomi,

    I am glad to hear that you find the solution.

    Thanks for your trust.

    Best Regards,

    Mona


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, May 22, 2020 1:30 AM