KB3077726 - FIX: An online rebuild of indexes is unsuccessful when a table partition is read-only in SQL Server 2014 Service Pack 1

Applies To
SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Express - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use)

Symptoms

Consider the following scenario:

  • You partition a table into many partitions.
  • You distribute each partition to a different filegroup of a Microsoft SQL Server 2014 Service Pack 1 database.
  • You set one of the filegroups as read-only and then work online to try to rebuild the indexes on the partitions that are distributed to other filegroups,

In this scenario, you may receive an error message that resembles the following:

Note

Msg 1924, Level 16, State 2, Line 82
Filegroup 'Filegroup_name' is read-only.

      

Resolution

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

Cumulative Update 2 for SQL Server 2014 Service Pack 1
      

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 2014:

SQL Server 2014 build versions
      

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.