Answered by:
Adding Article doesnt replicate in the existing publication

Question
-
I have a transactional replication setup which is up and running.When I add a new article to the existing setup Im not able to replicate the article.
BELOW ARE THE FOLLOWING STEPS I PERFORMED:
Add article to the publisher from SSMS
Rerun the snapshot agent.
sp_refreshsubscriptions 'marcus8_NonTracks'
I see the file generated for the article in the snapshot folder but its not reflecting in the subscriber.
Let me know if Im missing something
- Edited by venk_r Friday, November 18, 2011 3:30 PM
Friday, November 18, 2011 3:26 PM
Answers
-
Reinitialization is not required.
After adding an article to an existing publication and generating a new snapshot, the Distribution Agent should then copy the schema and data for the newly added article to the Subscriber. There should be no need to reinitialize.
Have a look at Adding Articles to and Dropping Articles from Existing Publications.
Hope this helps.
www.sqlrepl.comSunday, November 20, 2011 5:05 PM
All replies
-
I have a transactional replication setup which is up and running.When I add a new article to the existing setup Im not able to replicate the article.
BELOW ARE THE FOLLOWING STEPS I PERFORMED:
Add article to the publisher from SSMS
Rerun the snapshot agent.
sp_refreshsubscriptions 'marcus8_NonTracks'
I see the file generated for the article in the snapshot folder but its not reflecting in the subscriber.
Let me know if Im missing something
-
Connect to the Publisher in Management Studio, and then expand the server node.
-
Expand the Replication folder, and then expand the Local Publications folder.
-
Expand the publication that has the subscription you want to reinitialize.
-
Right-click the subscription, and then click Reinitialize.
-
In the Reinitialize Subscription(s) dialog box, select options, and then click Mark for Reinitialization.
Nareshkar Pakanati
MCTS, MCITP SQL Server 2008 Admin
My Blog: www.mssqlfix.com
Twitter: @mssqlfix
-------------------------------------------------------
Please mark as Answered if I have answered your question Please vote if this was useful
-------------------------------------------------------Sunday, November 20, 2011 10:27 AM -
-
Reinitialization is not required.
After adding an article to an existing publication and generating a new snapshot, the Distribution Agent should then copy the schema and data for the newly added article to the Subscriber. There should be no need to reinitialize.
Have a look at Adding Articles to and Dropping Articles from Existing Publications.
Hope this helps.
www.sqlrepl.comSunday, November 20, 2011 5:05 PM -
Checkout the status of the article in sysarticles and verify that there is any active sub for the art in syssubsription.
-- Yaniv www.sqlserverutilities.com http://blogs.microsoft.co.il/blogs/yaniv_etrogiMonday, November 21, 2011 7:59 AM