You are currently offline, waiting for your internet to reconnect

FIX: An instance of SQL Server 2012 may end unexpectedly when FILESTREAM data is accessed


Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.
Symptoms
Consider the following scenario:
  • You enable the following settings in SQL Server Configuration Manager for an instance of Microsoft SQL Server 2012:
    • Enable FILESTREAM for Transact-SQL access
    • Enable FILESTREAM for file I/O streaming access
  • You create a FILESTREAM filegroup and a table that contains a FILESTREAM column.
  • You run an application that uses the file stream I/O.

In this scenario, the instance of SQL Server may end unexpectedly under high stress conditions. Additionally, you receive an error message that resembles the following:
SQL Server terminated unexpectedly

Cause
This problem occurs because, under rare conditions, accessing the table by using the I/O streaming access path (UNC) could lead to a race condition between the file stream driver and the instance of SQL Server.
Resolution

SQL Server 2012

The fix for this issue was first released in Cumulative Update 2 for SQL Server 2012. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2703275 Cumulative update package 2 for SQL Server 2012
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2692828 The SQL Server 2012 builds that were released after SQL Server 2012 was released
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
For more information about how to enable FILESTREAM data, go to the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 2721610 - Last Review: 11/19/2012 18:35:00 - Revision: 2.0

Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Express, Microsoft SQL Server 2012 Standard

  • kbtshoot kbqfe kbfix kbexpertiseinter kbsurveynew KB2721610
Feedback