Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Make sure that the ActiveDirectory_ROLE_Provider is placed under the section <roleManager> and not in the <membership> section,
/johan
Hi I have configured the ActiveDirectoryMembershipProvider and ActiveDirectoryRoleProvider as is stated in:
http://world.episerver.com/en/Documentation/Items/Tech-Notes/EPiServer-CMS-5/EPiServer-CMS-5-R2-SP2/Configuring-EPiServer-CMS-5-to-Use-Active-Directory-Membership-Provider/
When I log in I get the following error:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Provider must implement the class 'System.Web.Security.MembershipProvider'.
--------------------------------------------------------
My web.config looks like this:
<add name="ActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="xxx"
connectionPassword="xxx"
enableSearchMethods="true"
attributeMapUsername="sAMAccountName" />
<add name="ActiveDirectoryRoleProvider"
type="EPiServer.Security.ActiveDirectoryRoleProvider, EPiServer"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="xxx"
connectionPassword="xxx"
attributeMapUsername="sAMAccountName" />
--------------------------------------------------------
Any ideas of why the error occurs? Thanks