For a long time all was ok. But now (couple of weeks, maybe) I am getting this weird errors in replication monitor:
One DB has error 2627 (Violation of %ls constraint '%.*ls'. Cannot insert duplicate key in object '%.*ls'.).
Another one getting error 20598 (The row was not found at the Subscriber when applying the replicated command).
We have one publisher+distributor and one subscriber.
So every evening I create new snapshot and reinitialize subscription (and it shows that it's ok) and every morning I see same errors. The problem is I cannot understand why is it happening. As I understand replication when I take snapshot it delivers current state database to subscriber and transactions which happened after snapshot has been made. The record in the first case is usually 1-2 days old so I think it should be within snapshot and delivered with it. The subscriber updated only by distribution agent, no one accessing it otherwise.
I've read advice about using sp_browsereplcmds for second error but it merely says something about wrong syntax at "∢", whatever that could mean. Could you advice me what should I do to get it working again, please?