SQL SERVER 訂閱發佈在restore DB之後的問題

http://blogs.msdn.com/b/repltalk/archive/2010/02/19/the-process-could-not-execute-sp-repldone-sp-replcounters.aspxhtml

could not execute 'sp_repldone/sp_replcounters' 數據庫

sol :exec sp_replflushrest

 

The process could not execute 'sp_replcmds' on ‘Server Name’.htm

sol: http://www.cnblogs.com/dudu/archive/2010/08/25/1808313.htmlblog

 

將數據庫的Owner設置爲sa,以下圖:ip

 

 

 

After restore db, transactional replication can't delete.cmd

EXEC sp_dropsubscriptionio

@publication = N'Tran_Name',im

@article = N'all',數據

@subscriber = 'SQLSERVERNAME\SQLINSTANCE',
@ignore_distributor = 1;

EXEC sp_droppublication 'N'Tran_Name',1

相關文章
相關標籤/搜索