Aged Yak Warrior
Posted - 09/24/2013 : 10:01:00
| I have an existing transactional publication that I want to add a new article to. So, I added the article with the following command:
exec sp_addarticle @publication = N'My_Publication',
@article = N'Filter_Control_Type', @source_owner = N'dbo',
@source_object = N'Filter_Control_Type', @type = N'logbased', @description = N'', @creation_script = N'', @pre_creation_cmd = N'drop', @schema_option = 0x0000000008FF5EDF, @identityrangemanagementoption = N'manual',
@destination_table = N'Filter_Control_Type', @destination_owner = N'dbo', @status = 24, @vertical_partition = N'false',
@ins_cmd = N'CALL [dbo].[sp_MSins_dboFilter_Control_Type]',
@del_cmd = N'CALL [dbo].[sp_MSdel_dboFilter_Control_Type]',
@upd_cmd = N'SCALL [dbo].[sp_MSupd_dboFilter_Control_Type]'
exec sp_refreshsubscriptions @publication = N'My_Publication'
(Names have been changed to protect the guilty)
I see -- briefly -- in the details of the distribution agent, that the subscribers say "The initial snapshot is not yet available" but when I run the snapshot agent (which creatres a snapshot if the one article I want) the subscribers (all 4 of them) completely ignore it and go about their business delivering transactions. They do that until I add a test record to my new article, in which case they immediately start complaining that the insert, update, and delete stored procs are not present. I can also tell the snapshot hasn't applied because the schema on the subscriber is not updated with the NOT FOR REPLICATION property on its identity columns.
Does anyone have any experience with this, or see a flaw in how I implemented this new article? I am using SQL 2008 (10.0) publishers and subscribers. Enterprise Edition.
Thanks in advance for any help.