Sign up ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

This question already has an answer here:

I have replication set up between two servers. This morning I came in and it was failing. I was getting these errors:

Error messages:

  • The process could not execute 'sp_replcmds' on 'PSQL3'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011) Get help:
  • Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. (Source: MSSQLServer, Error number: 15517)
  • The process could not execute 'sp_replcmds' on 'PSQL3'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)
share|improve this question

marked as duplicate by Paul White Aug 19 at 23:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted

It turns out that someone had deleted an account on the publishing database that had been the database owner without fixing the database ownership before doing so. This orphaned user, since it didn't exist, caused replication to break. I assume it's because it was the database owner.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.