KB4046056 - FIX: Assertion occurs when you access memory-optimized table through MARS in SQL Server 2016 and 2017


Consider the following scenario:

  • You use In-Memory OLTP and Multiple Active Result Sets (MARS) in an instance of Microsoft SQL Server 2016 or 2017.

  • You create a clustered column store index for a memory-optimized table.

  • You connect to the instance of SQL Server by using a MARS enabled connection.

  • When you run a query to access data from the memory-optimized table, you may notice that an assertion error occurs and the connection is killed.

  • Additionally, a minidump is generated on the server side.


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

       Cumulative Update 2 for SQL Server 2017

       Cumulative Update 9 for SQL Server 2016 RTM

       Cumulative Update 6 for SQL Server 2016 SP1

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2017

Latest cumulative updates for SQL Server 2016


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


Learn about the terminologythat Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!