Configuring Forms Based Authentication for SharePoint 2010

I found this very useful guide on how to configure FBA for SharePoint 2010.


Everything worked fine except for one, I could not add any .Net User to the SQL database.


The only thing that I had to add to get it to work completely was to modify the MembershipProvider under the FBA Web Application as follows:

  1. Open Web.config
  2. Look for the section and add minRequiredPasswordLength=”7″, otherwise you may have issues adding users.

<add name=”i” type=”Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c” />
<add name=”FBAMembershipProvider” type=”System.Web.Security.SqlMembershipProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” connectionStringName=”FBA” minRequiredPasswordLength=”7″ enablePasswordReset=”true” enablePasswordRetrieval=”false” passwordFormat=”Clear” requiresQuestionAndAnswer=”false” requiresUniqueEmail=”false” applicationName=”/” />

Tags: ,

No comments yet.

Leave a Reply

%d bloggers like this: