FIX: Access violation occurs in Distribution Agent in SQL Server 2016 and 2017

S’applique à : SQL Server 2017 Developer on WindowsSQL Server 2017 Enterprise on WindowsSQL Server 2017 Enterprise Core on Windows Plus

Symptoms


Assume that you have SQL Server 2016 and 2017 Transactional Replication environment. When the Distribution Agent tries to increment command counter for displaying article-wise statistics, an access violation may occur and the replication Distribution Agent crashes. Additionally, a mini dump file is generated.

Resolution


This issue is fixed in the following cumulative updates for SQL Server:

      Cumulative Update 12 for SQL Server 2017

      Cumulative Update 4 for SQL Server 2016 SP2

      Cumulative Update 12 for SQL Server 2016 SP1

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.