Upgraded my SQL server from 2016 to 2017, and after the udpate, my replication clients weren't synchronizing anymore. Ran the replisapi.dll?diag and was getting a failed on replisapi.dll class, with error message 0x80040154.
Turns out all I have to do was to rerun a regsvr32 replisapi.dll with the new file from my SQL COM folder, reboot and was back on track.
Hopefully this solves the problem for someone else.
User contributions licensed under CC BY-SA 3.0