Error on package not sure how to find error

  • Hi,

    One of my packages is failing and not sure why?

    What is the best way to find out what is causing this to fail?

    I believe it is a issue to do with a added new column ("newPath" is the new column name) in on the Derived Column component

    newPath

    (DT_STR,100,"1252")LOWER(SUBSTRING(columnA,1,FINDSTRING(columnA,"/",2) == 0 ? 0 : FINDSTRING(columnA,"/",2) - 1))

    Error Message:

    Message

    Executed as user: SCH\SQL_Serv. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 01:02:00 Error: 2012-10-01 01:02:08.17 Code: 0xC020902A Source: Create agg from Stage Derived Column [180] Description: The "component "Derived Column" (180)" failed because truncation occurred, and the truncation row disposition on "output column "newPath" (532)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component. End Error Error: 2012-10-01 01:02:08.17 Code: 0xC0047022 Source: Create agg from Stage SSIS.Pipeline Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Derived Column" (180) failed with error code 0xC020902A while processing input "Derived Column Input" (181). 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. End Error Error: 2012-10-01 01:02:08.17 Code: 0xC02020C4 Source: Create agg from Stage Staged iisLogsStage [2438] Description: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020. End Error Error: 2012-10-01 01:02:08.17 Code: 0xC0047022 Source: Create agg from Stage SSIS.Pipeline Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Union All users and companies" (856) failed with error code 0xC0047020 while processing input "Union All Input 2" (1050). 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. End Error Error: 2012-10-01 01:02:08.17 Code: 0xC0047038 Source: Create agg from Stage SSIS.Pipeline Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Staged iisLogsStage" (2438) 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. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 01:02:00 Finished: 01:02:08 Elapsed: 7.894 seconds. The package execution failed. The step failed.

  • It is failing because of truncation. Try changing (DT_STR,100,"1252") to (DT_STR,150,"1252")

  • Thanks

Viewing 3 posts - 1 through 2 (of 2 total)

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