Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

SQL Server Transacational Replication Issue while adding a new article

$
0
0

I have a "PULL" transaction replication toplogy (SQL server 2008 R2 - publisher,subscriber & distributor) in place and is working fie. I added a new article (table) using sp_addarticle and it works fine. Then I tried to add subscription to the new article using sp_adddsubscrition SPROC from the publisher (details below)

EXEC sp_addsubscription @publication = @pub_name, @article = @article_name, @subscriber = @sub_server, @destination_db   = @sub_dbname, @subscription_type = N'pull',@update_mode = N'read only', @sync_type = 'sutomatic', @status = 'active', @reserved ='Internal'

I tried with all combination of values in the @sync_type parametr,

The above command fails with the following message:Msg 14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533;Specify all articles when subscribing to a publication using concurrent snapshot processing.

The sync_type value parameter is "replication support type" when the subscrition was added orginally to the publication. This trsnslates into a value of 3 (CONCURRENT)  in sync_method column on the outpout of sp_helppublication SP execution.

What am I doing wrong? Please advise. Your help is much appreciated.

Thanks in advance

Kirti


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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