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
I
got this error during SQL Server Transaction Replication.
Solution:
Expand Object explorer, Right click
on Database, Select Properties, and click on Files
Provide
the owner of database