3
Vote

cannot manage fba users from Windows-secured site

description

In my scenario I have an internal application that is windows secured (intranet). This application is extended for external access by fba users (Extranet).
when I am loged on to the intranet with windows credentials I am able to manage user permisions for fba users but when I use this feature to create and manage fba users it returns the following error:
-- Error message

The configured Role Provider (WindowsTokenRoleProvider) relies upon Windows authentication to determine the groups that the user is allowed to be a member of. ASP.NET Role Manager cannot be used to manage Windows users and groups. Please use the SQLRoleProvider if you would like to support custom user/role assignment.

comments

bartomolina wrote Mar 7, 2010 at 4:57 PM

Did you find a solution?

liyufeng19839 wrote Mar 20, 2010 at 8:16 AM

I solved this. change the section in your site web.config file as below:
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
  <providers>
    <remove name="AspNetSqlRoleProvider" />
    <add connectionStringName="AspNetSqlProvider" applicationName="/" description="Stores and retrieves roles data from the local Microsoft SQL Server database" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  </providers>
</roleManager>

wrote Feb 14, 2013 at 2:10 AM