locked
Error in SSIS RRS feed

  • Question

  • Hi Experts,

    I have OLEDB Source ,Lookup ,OLE DB Desination(for Insert) and OLE DB Command (for update).

    there is no issue for small table but when when I run with same sceranio with huge transaction table then it doesn't insert the data .

    Error is given bellowed:-

    SSIS package "Package1.dtsx" starting.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    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: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 3 rows.
    Information: 0x400490F5 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached a total of 3 rows.
    Information: 0x402090E2 at Data Flow Task, Lookup [16]: The component "Lookup" (16) processed 3 rows in the cache. The processing time was 0.001 seconds. The cache used 132 bytes of memory.
    Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
    Error: 0xC0202009 at Data Flow Task, OLE DB Command [35]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Invalid character value for cast specification".
    Error: 0xC020901C at Data Flow Task, OLE DB Command [35]: There was an error with input column "AccessoryType" (87) on input "OLE DB Command Input" (40). The column status returned was: "The value could not be converted because of a potential loss of data.".
    Error: 0xC0209029 at Data Flow Task, OLE DB Command [35]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "OLE DB Command Input" (40)" failed because error code 0xC0209069 occurred, and the error row disposition on "input "OLE DB Command Input" (40)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Command" (35) failed with error code 0xC0209029 while processing input "OLE DB Command Input" (40). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  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: 0x402090DF at Data Flow Task, OLE DB Destination [45]: The final commit for the data insertion in "component "OLE DB Destination" (45)" has started.
    Information: 0x402090E0 at Data Flow Task, OLE DB Destination [45]: The final commit for the data insertion  in "component "OLE DB Destination" (45)" has ended.
    Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "OLE DB Destination" (45)" wrote 1 rows.
    Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Data Flow Task
    Warning: 0x80019002 at Package1: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (4) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "Package1.dtsx" finished: Failure.
    The program '[9052] Package1.dtsx: DTS' has exited with code 0 (0x0).

    thanks

    Monday, March 18, 2013 12:02 PM

Answers

  • Data is updated because the records are redirected to oledb command component. You can put a data viewer to see what records are going to oledb command and check if they are meant to be updated or not.

    Nitesh Rai- Please mark the post as answered if it answers your question

    • Marked as answer by Eileen Zhao Monday, March 25, 2013 8:34 AM
    Tuesday, March 19, 2013 11:39 AM

All replies

  • Looks like some truncation is happening for AccessoryType field. Wha is the source and destination data type for this field?

    Nitesh Rai- Please mark the post as answered if it answers your question

    Monday, March 18, 2013 12:18 PM
  • Hi Nitesh,

    DT-STR for Input Column

    DT_18 for Output

    now I have Three query,

    1.for small table data is inserted and show the data in destination table but showing Package is failed ,I don't know why but its happening ,Given Above error is for small table .why its happened..

    2. For inserting huge table what to do..

    Huge table Error--SSIS package "Package1.dtsx" starting.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    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.
    Warning: 0x80047076 at Data Flow Task, SSIS.Pipeline: The output column "ID" (196) on output "Lookup Match Output" (18) and component "Lookup" (16) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance.
    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: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 4096 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 1376256 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 2715648 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 4046848 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 5369856 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 6656000 rows.
    Information: 0x400490F4 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached 7942144 rows.
    Information: 0x400490F5 at Data Flow Task, Lookup [16]: component "Lookup" (16) has cached a total of 9162883 rows.
    Information: 0x402090E2 at Data Flow Task, Lookup [16]: The component "Lookup" (16) processed 9162883 rows in the cache. The processing time was 35.833 seconds. The cache used 403166852 bytes of memory.
    Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
    Error: 0xC0202009 at Data Flow Task, OLE DB Command [35]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Invalid character value for cast specification".
    Error: 0xC020901C at Data Flow Task, OLE DB Command [35]: There was an error with input column "District" (261) on input "OLE DB Command Input" (40). The column status returned was: "The value could not be converted because of a potential loss of data.".
    Error: 0xC0209029 at Data Flow Task, OLE DB Command [35]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "OLE DB Command Input" (40)" failed because error code 0xC0209069 occurred, and the error row disposition on "input "OLE DB Command Input" (40)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Command" (35) failed with error code 0xC0209029 while processing input "OLE DB Command Input" (40). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
    Error: 0xC02020C4 at Data Flow Task, Insert Userdata [1]: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
    Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Insert Userdata" (1) returned error code 0xC02020C4.  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: 0x402090DF at Data Flow Task, OLE DB Destination [45]: The final commit for the data insertion in "component "OLE DB Destination" (45)" has started.
    Information: 0x402090E0 at Data Flow Task, OLE DB Destination [45]: The final commit for the data insertion  in "component "OLE DB Destination" (45)" has ended.
    Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "OLE DB Destination" (45)" wrote 0 rows.
    Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Data Flow Task
    Warning: 0x80019002 at Package1: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (6) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "Package1.dtsx" finished: Failure.

    3.I have change maximum error count to above 1 to 100000 but in error display it show to 1 why..

    Please help I am new in SSIS

    Monday, March 18, 2013 12:42 PM
  • It is not related to big or small table. You have some values for field AccesoryType that are not integer values and hence is not loaded into the destinaiton column. Can you try to convert the AccessoryType using a data conversion component to Bigint and see if data conversion component fdails or not?

    Nitesh Rai- Please mark the post as answered if it answers your question

    Monday, March 18, 2013 1:11 PM
  • Hi Nitesh,

    Thanks for updating .

    It was silly mistake done by me which is wrong mapping and start mapping from first column which is used in where condition (it means ID ) in OLE DB Command .

    Now package is running ,if there is issue then I will let u know

    Thanks

    Tuesday, March 19, 2013 7:29 AM
  • Hi Nitesh,

    With the same package,Package is executed successfully but data is not inserted but updated .

    Can you tell me in which case its happened

    Thanks

    Tuesday, March 19, 2013 11:25 AM
  • Data is updated because the records are redirected to oledb command component. You can put a data viewer to see what records are going to oledb command and check if they are meant to be updated or not.

    Nitesh Rai- Please mark the post as answered if it answers your question

    • Marked as answer by Eileen Zhao Monday, March 25, 2013 8:34 AM
    Tuesday, March 19, 2013 11:39 AM