Try our conversational search powered by Generative AI!

SqlRoleProvider error deleting role with ÅÄÖ from DeleteMembershipDialog


Seems like the EPi Web Form HTML-encodes the string and therefore the provider can't find the role to delete in a upgraded site.

Is there a configuration I can change or is it a bug?

The role 'omoss-HUVUDREDAKTÖR' was not found.


   at System.Web.Security.SqlRoleProvider.GetUsersInRole(String roleName)

   at System.Web.Security.Roles.GetUsersInRole(String roleName)

   at EPiServer.UI.Admin.DeleteMembershipDialog.DeleteUser_Click(Object sender, EventArgs e)

   at EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e)

   at EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument)

   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Mar 22, 2012 9:30

I've registered an incident now... Awaiting response.

Apr 02, 2012 13:35
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.