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.
Właściwości

Identyfikator artykułu: 3132058 — ostatni przegląd: 26.07.2016 — zmiana: 1

Opinia