FIX: FileTables in an AlwaysOn availability group become unavailable after failover in an instance of SQL Server

Consider the following scenario:
  • You use AlwaysOn Availability Groups together with FileTables in an instance of Microsoft SQL Server 2014, 2012, or 2016.
  • You enable the "FILESTREAM for file I/O access" option on both the primary replica and the secondary replica, and you provide different Windows share names for the FILESTREAM on each replica.
  • The instance name of the SQL Server on each replica is different.

In this scenario when a failover occurs, the file path of the FileTables becomes incorrect.

For example, if you try to retrieve the path locator ID value for the specified file or directory in the FileTable by using the GetPathLocator function, you may receive the following error message:
Msg 33425, Level 16, State 1, Line 10
Invalid share name in the FileTable path.

This problem was first fixed in the following cumulative updates for SQL Server:

About cumulative updates for SQL Server
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:

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Learn about the terminology Microsoft uses to describe software updates.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 3152378 - Last Review: 07/26/2016 08:47:00 - Revision: 5.0

Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2012 Service Pack 3, Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Enterprise Core, Microsoft SQL Server 2012 Express, Microsoft SQL Server 2012 Standard, Microsoft SQL Server 2012 Web, Microsoft SQL Server 2016 Developer, Microsoft SQL Server 2016 Enterprise, Microsoft SQL Server 2016 Enterprise Core, Microsoft SQL Server 2016 Standard

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3152378