Results 1 to 10 of 10

Thread: [RESOLVED]ASP.NET Membership Role in Windows Application

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Resolved [RESOLVED]ASP.NET Membership Role in Windows Application

    Hi all,

    i already create new connectionstring in app.config that point to myDB
    i already create aspnet membership table in myDB using aspnet_regsql
    i already create new custom provider and set the connection string there..

    what i like to ask:
    1. why when the app start, it create new folder app_data which contain aspnetDB.mdf eventhough i already create new connection string ?

    2. why when i'm using Membership.CreateUser method, it succesfully inserted in myDB.aspnet_Users table but when i'm using Roles.CreateRole method it doesn't inserted in myDB.aspnet_Roles table?

    need insight, been troubleshoot this for 2 days

    PS: i'm using .net 4.0, sql2008, vs2010

    thanks,
    erick
    Last edited by erickwidya; Oct 4th, 2010 at 10:02 PM.

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width