Cause
Ensure the enabled attribute of the roleManager tag is set to true. If this attribute is missing the default value will be false. Editing the wrong web.config file can also lead to frustrating results.
<roleManager enabled="true" defaultProvider="ExtRole"> <providers> <add name="ExtRole" connectionStringName="ExtranetDirectory" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers> </roleManager> |
0 Comments