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

Pull transactional replication not picking up new articles

$
0
0

Hello replication experts,

I have transactional replication set up in my enterprise SQL 2014 server. Publication has IMMEDIATE_SYNC and ALLOW_ANONYMOUS properties set to FALSE, sync_method= concurrent. 

Environment details:

1) Publisher: SQL Server 2014 EE SP2

2) Distributor: SQL Server 2014 EE SP2

3) Subscriber: SQL Server 2014 EE SP2

4) Subscription type: Pull

I added an article using the script below:

use [Test_Pub]
GO
exec sp_addarticle 
@publication = N'PubRPT', 
@article = N'artTest',
@source_owner = N'dbo', 
@source_object = N'artTest', 
@type = N'logbased',
@description = N'', 
@creation_script = N'', 
@pre_creation_cmd = N'drop', 
@schema_option = 0x00000000080010A7, 
@identityrangemanagementoption = N'manual',
@destination_table = N'artTest', 
@destination_owner = N'dbo', 
@status = 24,
@vertical_partition = N'false',
@ins_cmd = N'CALL [dbo].[sp_MSins_dboartTest]', 
@del_cmd = N'CALL [dbo].[sp_MSdel_dboartTest]', 
@upd_cmd = N'SCALL [dbo].[sp_MSupd_dboartTest]'
GO
EXECUTEsp_refreshsubscriptions @publication = N'PubRPT'
GO
EXECUTEsp_startpublication_snapshot @publication = N'PubRPT'
GO

I have used this same script several times in the past with no issues. Objects created in the subscriber and snapshot was only run for new articles. This time, even though snapshot ran with no errors for this new article, it did not create the table or objects at the subscriber. There were no errors logged in distribution agent job and was running as usual delivering transactions for rest of the articles. When snapshot job ran it did create files on snapshot location for the newly created article. 

I am clueless at this point as to why this is not working and the same thing worked in the past without any issues. Please provide your suggestions/insights to fix this issue. 


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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