Assigning Roles on login/registration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dgbb
    New Member
    • May 2010
    • 1

    Assigning Roles on login/registration

    Hi,

    I have read many posts and have tried many solutions to this problem.

    Simply enough, I can assign a role to a user programically during development, but when I publish to the 'web', the system doesn’t work. I am useing VWD 2008 in VB.Net.

    I have been using permutations of : Roles.AddUserTo Role("User.Name ", "User").

    Roles work throughout the site (per page/directory). Is there something I am missing?

    Thanks in advance
    Last edited by jhardman; May 17 '10, 10:03 PM. Reason: moved to ASP.NET forum. accidentally posted in ASP Classic forum
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    Is your database correctly configured?
    regsql
    How to use Role manager

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      I'm also inclined to say that you need to look at if your database is configured to allow this.

      -Frinny

      Comment

      Working...