• It looks like you have duplicate rows in MSArticles and MSSubscriptions. I would suggest to run the following commands:-

    delete distribution..MSarticles where publisher_db = 'YourPublisherDB'

    delete distribution..MSsubscriptions where publisher_db = 'YourPublisherDB'

    and then setting up replication again.