Article ID: 2653811 - Last Review: January 20, 2012 - Revision: 4.0 SharePoint 2010: Users cannot login to SharePoint site due to mismatch in the Custom Membership Provider value
SYMPTOMSUsers cannot login to a forms-based web application in SharePoint that uses a custom membership provider. CAUSEOne of the following may be the cause:
RESOLUTIONTo identify the mismatch in the custom membership/role provider name from Central Administration: 1. Browse to the Central Administration and under the Application Management section, click on Manage web applications. 2. Select the SharePoint web application configured with the custom membership provider. 3. Click the Authentication Providers link on the ribbon and click on the appropriate zone. 4. Under the Claims Authentication Types section, make a note of the ASP.NET Membership provider and ASP.NET Role manager name. 5. Open the web.config file for the web application configured with custom membership provider. 6. Under the <Configuration> <system.web> section, look for membership: 7. Make sure the membership name in step 4 and the membership name in step 6 (ContosoMembership) are the same. 8. Search for roleManager section: 9. Make sure the roleManager name in step 4 and the roleManager name in step 8 (ContosoRole) are the same. For a mismatch in the provider assembly: 1. Open the web.config file for the web application configured with custom membership provider. 2. Under the <Configuration> <system.web> section, look for membership: 3. Record the assembly name from step 2 (ContosoProviders) in the membership provider. 4. Go to C:\Windows\assembly folder on the server and verify that the assembly name from step 3 is in this list and that it is the matching version (1.0.0.0). 5. Search for roleManager section: 6. Record the assembly name from step 5 (ContosoProviders) in the role provider. 7. Go to C:\Windows\assembly folder on the server and verify that the assembly name from step 3 is in this list and that it is the matching version (1.0.0.0). Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations. | Other Resources Other Support Sites
CommunityGet Help Now
|





















Back to the top