Error Importing from DB2 to SQL Server

  • I get the following error during a transformation from DB2 to SQL Server.

    I can load the table using an OPEN Query Statement but from SSIS it fails?

    [point_ctl_Master_Summary [16]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Invalid column type from bcp client for colid 3.".

    [ctl_Master_Summary [16]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (29)" failed because error code 0xC020907B occurred, and the error row disposition on "input "OLE DB Destination Input" (29)" 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.

    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ctl_Master_Summary" (16) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (29). 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.

    I will output the offending record(s) to an exception table as was suggested by Jack Corbet but I don't understand why the error message is not more specific.

    For better, quicker answers on T-SQL questions, click on the following...
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

  • I get this error but it does not specify what occured.

    Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (3) 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.

    For better, quicker answers on T-SQL questions, click on the following...
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

  • I've seen this one too.

    From what I can tell, being a vague sort of error you can get it for various reasons.

    From memory, points of interest are:

    - Is it failing on source, destination, or in between?

    - What sort of source component are you using?

    - Are you delaying validation?

    - What version is your SSIS?

    - Are you using transactions?

  • sam.dahl (3/19/2012)


    I've seen this one too.

    From what I can tell, being a vague sort of error you can get it for various reasons.

    From memory, points of interest are:

    - Is it failing on source, destination, or in between?

    - What sort of source component are you using?

    - Are you delaying validation?

    - What version is your SSIS?

    - Are you using transactions?

    The error does not specify source or destination. I provided the entire error message.

    The Source and destination are OLE DB Source & OLE DB Destination objects.

    I'm not delaying validation which is slowing me down.

    I'm using SQL Server 2008.

    I'm specifying Batch and maximum commit size, no transactions.

    For better, quicker answers on T-SQL questions, click on the following...
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

  • Some more thoughts:

    How does it go without bulk load?

    Is your package a child, parent, or single?

    Try using a SQL Server destination, you may get more information in the error.

    When running the package see if it gets past validation, loading source data, starts inserting (determining at what point it fails will be helpful).

    Turn off ValidateExternalMetadata and turn on delay validation (this can get you past the validation stage if it is stalling there).

    What is the data type of columns 2, 3 and 4? Source and destination.

    Try loading a single simple column of data and see if that works (narrow down whether it is a particular column / type of column; assuming the problem is not otherwise obvious.

    Try specifically casting all your columns and loading into a table generated by ssis.

Viewing 5 posts - 1 through 4 (of 4 total)

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