服务器重新启动后自动重新启动SQL Server复制

时间:2018-10-30 14:22:47

标签: sql-server sql-server-2014 transactional-replication

重新启动运行SQL Server的Windows Server之后,我的应用程序事件日志中出现以下错误:

Replication-Replication Distribution Subsystem: agent <name removed> failed. The subscription(s) have been marked inactive and must be reinitialized. NoSync subscriptions will need to be dropped and recreated.

有什么方法可以自动重新初始化订阅,或者是重新启动服务器并运行复制的最佳方法是什么?

Johan

1 个答案:

答案 0 :(得分:0)

我太快了。通过将作业设置为在SQL Server代理启动时自动启动来设法找到答案。 https://microsoft.public.sqlserver.replication.narkive.com/D84GcvnT/replication-not-automatically-starting-after-server-reboot