Role Manager Related Question

Last post 07-05-2009 12:02 PM by mamun22s. 1 replies.

Sort Posts:

  • Crying [:'(] Role Manager Related Question

    07-05-2009, 9:53 AM
    • Member
      2 point Member
    • Roi1981
    • Member since 10-30-2008, 1:18 PM
    • Israel
    • Posts 8

    hey guys

    i have a problem related to role manager

    i want to define rolemanager in the web.config but to set its connectionString Property from the code behind. 

    can this this can be done anyway ?

    i really stuck with this problem

    thank you

    Roi


    Roi
  • Re: Role Manager Related Question

    07-05-2009, 12:02 PM
    Answer
    • Member
      424 point Member
    • mamun22s
    • Member since 01-10-2008, 7:29 AM
    • Dhaka, Bangladesh
    • Posts 89

    You don’t need to set connection string on web config. In web.config you just

    write :

    <roleManager enabled="true" defaultProvider="SqlRoleManager">
      <providers>
        <add name="SqlRoleManager" />
    </providers>
    </roleManager>

    Try this Hope it will help u.

    Regards,


     

     

     

    Moinul Hasan
    Senior Software Engineer
    Ennovia Technologies Limited


    (Mark it as answer if it does help you!)
Page 1 of 1 (2 items)