Hello, I've been searching for a solution to this problem which says you can't delete an administrative group because this contains users. This is strange as there are no users in the group -
When I'm trying to delete this group it prompts me with an error that shows a provider exception containing a message that - This role cannot be deleted because there are users present in it
Here is the stack trace
This role cannot be deleted because there are users present in it.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.Provider.ProviderException: This role cannot be deleted because there are users present in it.
Stack Trace:
[ProviderException: This role cannot be deleted because there are users present in it.] System.Web.Security.SqlRoleProvider.DeleteRole(String roleName, Boolean throwOnPopulatedRole) +719 EPiServer.UI.Admin.DeleteMembershipDialog.DeleteUser_Click(Object sender, EventArgs e) +689 EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e) +126 EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument) +223 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5445 |
How can I still delete this group as there are no users and I don't need it to be in the system. Any help would be greatly appreciated.
Thanks,
Manoj