Hi Experts,
Have you run into this kind of error before (MSSQL_REPL20046)? I couldn’t find any useful info regarding this error on Google. The strange thing is sql server didn’t give any error description associated with it. Below is the error log:
Command attempted:
if @@trancount > 0 rollback tran
(Transaction sequence number: 0x0001A9E10003888A000600000000, Command ID: 1)
Error messages:
(Source: MSSQL_REPL, Error number: MSSQL_REPL20046)
Get help: http://help/MSSQL_REPL20046
As usual troubleshooting, I ran the below query against distribution db. Strange: It return nothing.
sp_browsereplcmds'0x0001A9E10003888A000600000000','0x0001A9E10003888A000600000000';
This error happens on 3 publications and and spit out this error quite frequent (every 30 to couple hours). Most of the time, the distribution agent job just restarted itself and continue on, but sometimes the job just stop and waiting for DBA to manually restart it.
I added this error number into the distribution agent job with option –SkipErrors 20046, but it didn’t seem to work.
Both publisher and subscriber are sql 2014 ent with 'Pull' subscriptions.
Thanks,
Thanh Nguyen
ThanhNguyen