Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

Missing publication DB before execute sp_addlogreader_agent

$
0
0
I found that there is a missing of one line that need to be executed before starting execute sp_addlogreader_agent.We need to specify the use of the publication DB.So instead of following script as above:-- Enable transactional or snapshot replication on the publication database.EXEC sp_replicationdboption @dbname=@publicationDB, @optname=N'publish',@value = N'true';-- Execute sp_addlogreader_agent to create the agent job. EXEC sp_addlogreader_agent We need to change into the following:-- Enable

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>