Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Replication unanticipated error

$
0
0

Hi

I have a marge replication between 'Publisher' and 'Subscriber', on replicating table 'T1' I'm receiving the following conflict: 

"A row insert at 'Publisher' could not be propagated to 'Subscriber'. This failure can be caused by a constraint violation.  The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION."

followed with multiple conflicts:

"A row insert at 'Publisher' could not be propagated to 'Subscriber'. This failure can be caused by a constraint violation.  The Merge Agent was unable to synchronize the row due to one or more unanticipated errors in the batch of changes. When troubleshooting, increase the -OutputVerboseLevel setting, restart the agent, and check for and resolve any errors generated by the database engine."

reviewing the data, everything seems to be fine!!!!, I mean the rows that returning the conflict (could not be propagated) are actually (propagated) and exists in both 'Publisher' and 'Subscriber'.

any Ideas!!

thanks

Amir Sabri

PS:

- increasing the OutPutVerboseLevel did not solve the problem

- there is a ROLLBACK TRANSACTION command in T1 insert trigger but its preceded with the line

IF @@TRANCOUNT > 0



Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>