http://blogs.msdn.com/b/repltalk/archive/2010/02/19/the-process-could-not-execute-sp-repldone-sp-replcounters.aspx
could not execute 'sp_repldone/sp_replcounters'
sol :exec sp_replflush
The process could not execute 'sp_replcmds' on ‘Server Name’.
sol: http://www.cnblogs.com/dudu/archive/2010/08/25/1808313.html
将数据库的Owner设置为sa,如下图:
After restore db, transactional replication can't delete.
EXEC sp_dropsubscription
@publication = N'Tran_Name',
@article = N'all',
@subscriber = 'SQLSERVERNAMESQLINSTANCE',
@ignore_distributor = 1;
EXEC sp_droppublication 'N'Tran_Name',1