Implementing custom membership provider in SharePoint 2010 I am getting the following error.
I am getting this error in the following page:
http://home:55555/_admin/WebApplicationList.aspx
I copy the membership code in 3 web.config
file.
1. My Current Web Application.
2. Central administration.
3. Security Token Web service.
<membership defaultProvider="i">
<providers>
<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="CustomFBAMembership" type="CustomMemberShipProvider.Class.CustomMemberShip,CustomMemberShipProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=99f33d5f328d7f5a"/>
</providers>
</membership>
<roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
<providers>
<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="CustomFBARole" type="CustomMemberShipProvider.Class.CustomRoleBase, CustomMemberShipProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=99f33d5f328d7f5a"/>
</providers>
</roleManager>
Error
Exception of type 'System.ArgumentException' was thrown. Parameter name: encodedValue
Troubleshoot issues with Microsoft SharePoint Foundation.
FYI : When I am comment out the all membership
and rolemanager
tags from the Central Administration site web.config
then it's working fine. I think the problem is somewhere in the membership provider tags.
Please help me out this problem. Thanks