The lookup component has two data sources, one for the output of the upstream component, and one for the component lookup data source, which is configured in the Connection tab. During the development of the package, I found an exception that occurs when the lookup data source does not return data. The exception information is as follows:
[Lookup [2]] Error:row yielded no match during lookup.
[Lookup [2]] Error:ssis Error Code Dts_e_inducedtransformfailureonerror. The "Lookup" failed because error code 0xc020901e occurred, and the error row disposition on "Lookup.outputs[lookup Match Output] "specifies failure on error. An error occurred the specified object of the specified component. There may is error messages posted before this and more information about the failure.
The exception occurs because the output of no match entries is not processed, and the specify how to handle rows with no matching entries is specified as fail component.
Workaround: Redirect data rows with no matches to no macth output.
In the General tab, specify how to handle rows with no matching entries is specified as Redirect rows to no match ouput.
Lookup Component exception