ASP.NET Configuration Utility

Discussion in 'ASP .Net' started by SAL, Apr 12, 2007.

  1. SAL

    SAL Guest

    Hello,
    I'm using the Web Application Administration utility that ships with .NET
    2.0, and while I think this tool is awesome, I'm not seeing a way to delimit
    roles by application.
    I used the SQL Server Registration Tool (aspnet_regsql.exe) and it added the
    database and tables to my local instance of sql server 2005. The database
    (aspnetdb) does indeed have an Application table (dbo.aspnet_Applications)
    but when you add roles via the Web Application Administration tool, it
    doesn't seem to limit the role to the current application. Additionally,
    when I use the following line of code:

    Roles.ApplicationName = "MyAppName"

    When I then execute:
    Role.GetAllRoles

    Nothing is returned. If I don't set the application name, I get all the
    roles in the database.

    Is there a way to make this sort of thing happen either via the Web
    Application Administration tool or via code?

    Any help would be much appreciated

    S
     
    SAL, Apr 12, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. james

    VB.NET Class Builder Utility 1.0

    james, Apr 7, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    2,194
    james
    Apr 7, 2004
  2. Joel Cade

    ASP.Net Configuration File

    Joel Cade, Jul 16, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    549
    David Berman
    Jun 22, 2004
  3. Mark
    Replies:
    0
    Views:
    1,047
  4. John

    asp.net configuration utility

    John, Mar 30, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    797
    Christopher Reed
    Apr 1, 2006
  5. Nam
    Replies:
    1
    Views:
    430
    Eliyahu Goldin
    Jul 14, 2008
  6. Nathan Sokalski
    Replies:
    2
    Views:
    680
    George
    Mar 30, 2009
  7. Homer
    Replies:
    0
    Views:
    1,732
    Homer
    Jun 2, 2009
  8. ben h
    Replies:
    0
    Views:
    225
    ben h
    Aug 25, 2004
Loading...