FIX: Error occurs when you try to drop or delete filegroups or partition schemes and functions in SQL Server

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:

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:

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.

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.
Eigenschappen

Artikel-id: 3132058 - Laatst bijgewerkt: 26 jul. 2016 - Revisie: 1

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

Feedback