Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Error on package not sure how to find error Expand / Collapse
Author
Message
Posted Monday, October 1, 2012 4:03 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 14, 2014 12:45 PM
Points: 111, Visits: 600
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.
Post #1366812
Posted Tuesday, October 2, 2012 6:56 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, September 16, 2014 7:35 AM
Points: 2,819, Visits: 2,563
It is failing because of truncation. Try changing (DT_STR,100,"1252") to (DT_STR,150,"1252")
Post #1367002
Posted Wednesday, October 3, 2012 9:06 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 14, 2014 12:45 PM
Points: 111, Visits: 600
Thanks
Post #1367763
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse