Hi @Shambhu Rai ,
Please check the full error message, usually it will tell you 'The duplicate key value is (xxx, xxx)'.
Make sure the data source does not have duplicate values on the fields that are part of the OLEDB Destination primary key. To remove duplicates that exist on the data source you can use the Sort Transformation Task (SSIS Toolbox -> Common -> Sort) and make use of the checkbox named "Remove rows with duplicate sort values". You can find a practical example here.
You can use the Lookup Transformation within the Data Flow task to check for data that already exist on the destination table.
lookup-transformation-in-ssis
Regards,
Zoe
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.