SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Error on package not sure how to find error


Error on package not sure how to find error

Author
Message
SQL_Kills
SQL_Kills
SSChasing Mays
SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)

Group: General Forum Members
Points: 640 Visits: 819
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.
Daniel Bowlin
Daniel Bowlin
SSCertifiable
SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)SSCertifiable (7.6K reputation)

Group: General Forum Members
Points: 7604 Visits: 2629
It is failing because of truncation. Try changing (DT_STR,100,"1252") to (DT_STR,150,"1252")
SQL_Kills
SQL_Kills
SSChasing Mays
SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)SSChasing Mays (640 reputation)

Group: General Forum Members
Points: 640 Visits: 819
Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search