Basically i want to add articles to existing subscriber without taking entire snapshot
Code i am using to add articles to subscriber
EXEC sp_changepublication
@publication = 'Transaction_replication',
@property = N'allow_anonymous',
@value = 'false'
GO
EXEC sp_changepublication
@publication = 'Tranasaction_replication',
@property = N'immediate_sync',
@value = 'false'
GO
EXEC sp_addarticle
@publication = 'Transaction_replication',
@article = 'table1',
@source_object = 'table1',
@force_invalidate_snapshot=1
----- Till this no errors..after i execute below script i am getting error-----
EXEC sp_addsubscription
@publication = 'Transaction_replication',
@subscriber = 'subscriber_servername',
@destination_db = 'subscriber_dbname',
@article = 'table1',
@reserved='Internal'
-----Error----------
Msg 14278, Level 16, State 1, Procedure sp_verify_schedule, Line 292
The schedule for this job is invalid (reason: @freq_recurrence_factor must be at least 1.).
Msg 14070, Level 16, State 1, Procedure sp_MSrepl_changesubstatus, Line 1208
Could not update the distribution database subscription table. The subscription status could not be changed.
Msg 14057, Level 16, State 1, Procedure sp_MSrepl_addsubscription_article, Line 383
The subscription could not be created.
Regards,
Satish