FIX: Access Violation when you execute queries on a readable secondary replica of a SQL Server 2014 AlwaysOn Availability Group

Applies to: SQL Server 2014 DeveloperSQL Server 2014 DeveloperSQL Server 2014 Enterprise

Symptoms


Assume that you connect to a readable secondary replica of a SQL Server 2014 AlwaysOn Availability Group. When you execute a specific query on a specific table that belongs to the secondary replica, an Access Violation occurs.

Resolution


The fix for this issue is included in the following cumulative update for SQL Server:

    Cumulative Update 4 for SQL Server 2014 SP2

About cumulative updates for SQL Server

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 Microsoft uses to describe software updates.