aminbangash110 - Monday, September 25, 2017 5:33 AM
You've not answered the first question, is this replication (Transaction / Merge / Snapshot) or is this SSIS extracting and loading data?
If its actual proper replication look at the monitor and the sp_browsereplcmds, it will give you what is failing then you can fix it.
If its SSIS, open the project, debug the package causing the problems.
How can data be duplicated? I don't know your code, your systems or your processes. You will need to go and debug. Something is violating the primary key for cdr_main, go find what that is and fix it, then move on to the next error.