Symptoms
You create a full-text index that uses a full-text catalog in Microsoft SQL Server. If the catalog is very large, SQL Server might create some partition schemes and functions. These are saved in the filegroups. This behavior is expected. However, after you drop the full-text index and the catalog, those partition schemes and functions are not removed from the filegroups. Additionally, when you try to delete the filegroups that contain the partition schemes and functions, you receive an error message that resembles the following:
Note
Msg 5042, Level 16, State 12
The filegroup 'filegroup_name' cannot be removed because it is not empty.
If you try to drop the partition schemes and functions, you receive error messages that resemble the following:
Note
Msg 15151, Level 16, State 1
Cannot drop the partition scheme 'scheme_name', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1
Cannot drop the partition function 'function_name', because it does not exist or you do not have permission.
Resolution
This issue was first fixed in the following cumulative update for SQL Server:
- Cumulative Update 6 for SQL Server 2014 Service Pack 1
- Cumulative Update 1 for SQL Server 2016
- Cumulative Update 13 for SQL Server 2014
- Cumulative Update 10 for SQL Server 2012 Service Pack 2
- Cumulative Update 2 for SQL Server 2012 Service Pack 3
Recommendation: Install the latest cumulative update for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included in the previous cumulative update. Check out the latest cumulative updates for SQL Server:
- Latest cumulative update for SQL Server 2016
- Latest cumulative update for SQL Server 2014
- Latest cumulative update for SQL Server 2014 SP1
- Latest cumulative update for SQL Server 2012 SP2
- Latest cumulative update for SQL Server 2012 SP3
Note You can find information about the latest SQL Server builds from Where to find information about the latest SQL Server builds .
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 that Microsoft uses to describe software updates.