noname

Vote:
 

I using EPiServer CMS R1 and StarCommunty 3.1. I know there is a bug that forces you to rename the Role and MembershipProviders and I have done so. My config looks like this:

<roleManager enabled="true" defaultProvider="MultiplexingRoleProvider" cacheRolesInCookie="true">

<providers>

<clear />

<add name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer"

provider1="SqlServerRoleProvider" providerMap1="SqlServerMembershipProvider"/>

<add name="SqlServerRoleProvider" applicationName="Resdagboken"

type="StarSuite.Core.Web.Authorization.RoleProvider, StarSuite.Core.Web.Authorization" />

</providers>

</roleManager>

<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="20">

<providers>

<clear />

<add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer"

provider1="SqlServerMembershipProvider" />

<add name="SqlServerMembershipProvider" applicationName="Resdagboken"

type="StarSuite.Core.Web.Authorization.MembershipProvider, StarSuite.Core.Web.Authorization" />

</providers>

</membership>

When I try to create a user in EPiServer I get the following error message, with what looks to be part of a stack trace.

Unexpected Provider error! This may be caused by invalid combination of Role and Membership providers.

at StarSuite.Core.Web.Authorization.MembershipProvider.get_MinRequiredPasswordLength() at EPiServer.Security.MultiplexingMembershipProvider.get_MinRequiredPasswordLength() at System.Web.Security.Membership.get_MinRequiredPasswordLength() at EPiServer.UI.Edit.UserMembership.ValidatePassword() at EPiServer.UI.Edit.UserMembership.SaveMembershipUser() at EPiServer.UI.Edit.UserMembership.SaveButton_Click(Object sender, EventArgs e)

(I have tries using a really long password so that's not the problem)

#28898
Mar 26, 2009 11:00
Vote:
 
Sorry about forgetting to give my post a title, you really should validate the input and not allow that...
#28899
Mar 26, 2009 11:04
Vote:
 

Hi Angelika

The StarSuite-/EPiServer.Common-membership provider does not support retrieval of information like minimum required password length while EPiServer CMS's user administration interface tries to validate minimum required password length. This means that you can't use that to add new users. 

Instead you can add new users using the community plattforms own users management, Community tab -> System Settings -> Groups/Users -> Add User.

#28908
Mar 26, 2009 11:23
This thread is locked and should be used for reference only. Please use the Legacy add-ons 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.