Try our conversational search powered by Generative AI!

EPiServer 7.0 CMS The method or operation is not implemented.

Vote:
 

Hello!

I'm trying to figure out why I can't create a user inside of the CMS?

I have a regular user created and I wanna set the User to Administrator etc.

When I try to add this access to the user it says:

The method or operation is not implemented.

with this random error after:

at EPiServer.Common.Web.Authorization.RoleProvider.RemoveUsersFromRoles(String[] usernames, String[] roleNames) at System.Web.Security.Roles.RemoveUserFromRoles(String username, String[] roleNames) at EPiServer.UI.Edit.UserMembership.SaveMembershipRoles() at EPiServer.UI.Edit.UserMembership.SaveButton_Click(Object sender, EventArgs e)

#89836
Aug 27, 2014 11:15
Vote:
 

Which role provider are you using (snippet from web.config)?

#89874
Aug 27, 2014 23:08
Vote:
 

Hello Valdis!

I'm currently using:  

#89965
Aug 29, 2014 9:46
Vote:
 

Well that's not a surprise :) CommonUserRoleProvider does not support removal user from the role.

public override void RemoveUsersFromRoles(string[] usernames, string[] roleNames)
{
  throw new ProviderException("The method or operation is not implemented.");
}

Can you provide excat fragments from web.config for roles and membership providers?

#90030
Sep 01, 2014 12:58
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.