Click here to Skip to main content
15,884,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one table.In which one column Adrart.It's datatype is string.That column contains value like AK and EH.But i want to only AK rows which is available in this table.
so i am trying to use Conditional split in which write following condition:

Adrart == "AK"

so that time half of rows are feched but sometimes later it's display following error.so help me how to getting succefully all the AK data.

Error Occured Like are as Under :-

1)
[Adrart_AK [2]] Error: The expression "Adrart == "EH"" on "Adrart_AK.Outputs[AdrartEH]" evaluated to NULL, but the "Adrart_AK" requires a Boolean results. Modify the error row disposition on the output to treat this result as False (Ignore Failure) or to redirect this row to the error output (Redirect Row). The expression results must be Boolean for a Conditional Split. A NULL expression result is an error.

2)
[Adrart_AK [2]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Adrart_AK" failed because error code 0xC020902B occurred, and the error row disposition on "Adrart_AK.Outputs[Adrart]" 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.

3)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Adrart_AK" (2) failed with error code 0xC0209029 while processing input "Conditional Split Input" (3). 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.

4)
[Excel CustomerMaster Source [117]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

5)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Excel CustomerMaster Source 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.


Thanks in advanced
Posted
Updated 13-Dec-16 9:38am
v2

1 solution

C#
Using ISNULL with the variable to filter out NULL values will solve this issue. 
In your case add ISNULL(Adrart) to the Bad rows output and move bad rows output row at the top so that it gets executed first.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900