Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ole Mansfeld 29 posts 43 karma points
    Sep 11, 2010 @ 08:50
    Ole Mansfeld
    0

    RoleManaging with System.Web.Security.SqlRoleProvider

    Hi all

    I need help on the implementation of SQLRoleProvider.

    I have implemented the MembershipProvider and it works like a charm, but no roles are showing up. Here is how Ireference in web.config

    <roleManager enabled="true" defaultProvider="JOHARoleManager">

          <providers>

            <clear />

            <add name="JOHARoleManager" type="System.Web.Security.SqlRoleProvider" connectionStringName="johaLogisticsAdminConnection" applicationName="johalogistics" />

    <!--add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" /-->

          </providers>

        </roleManager>

     

    If I use the VS.NET ASP.NET Configuration feature I have roles and users are assigned to roles. Ideas and solutions are most welcome. Have a great saturday.

    Cheers Ole

  • Ole Mansfeld 29 posts 43 karma points
    Sep 12, 2010 @ 17:13
    Ole Mansfeld
    0

    After some struggles i have found out the problem. I am building a seperate admin tool alongside the umbraco solution.

    This tool had no definition of the rolemanager in web.config, other than it was enabled and from this tool i had created the roles which i was trying to find i umbraco.

    Now i have the same rolemanager settings for both my umbraco and admintool solutions and viola it works..

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies