The subscription have been marked inactive and must be reinitialized into a replication

Hi Team
I keep on getting the following error on Transnational Replication setup in SQL 2005.
below is the error message:
The subscription(s) have been marked inactive and must be reinitialized. NoSync subscriptions will need to be dropped and
recreated. 
note: my
Transnational 
replication working fine, but I see the sql server error log getting above error message how we can fix this issue.

Hi MSDN_12345,
In addition to Nag’ post, please make sure that "Subscriptions never expire" is marked in Publication Properties. And in Distributor Properties, set transaction retention and history retention settings to values which exceed the maximum length
of time your subscriber could be offline for. For more information about retention periods for SQL Server transactional replication, please review this similar
blog.
Alternatively, you can update the status of those publications to 2 in distribution database to resolve this issue.
USE distribution
Update [MSsubscriptions]
Set [status] = 2
where publisher_db = '<PublicationDB>'
Thanks,
Lydia Zhang

Similar Messages

Maybe you are looking for