adding Membership tables to database, how?

Discussion in 'ASP .Net' started by Jeff, Sep 9, 2008.

  1. Jeff

    Jeff Guest

    hey

    asp.net 2.0

    I'm wondering how to add the Membership tables to a database. When I create
    a website project and wants to register users, users are then automatically
    registered in the database ASPNETDB. (not sure name is correct?). But
    instead of that I want to use another database I create on my own. A
    database created in Sql Server 2005. So how do I create these Membership
    tables and stored procedures in this database. I've done this before and
    have simply forgotten how it's done :( I know there is a command or a script
    or something like that which I need to run against the database.

    any suggestions?
     
    Jeff, Sep 9, 2008
    #1
    1. Advertising

  2. Hello Jeff,

    aspnet_regsql.exe -E -S localhost -d Northwind -A all -sqlexportonly c:\membership.sql
    and you get your script to run against new DB

    http://blog.krisvandermast.com/Crea...notherDatabaseThanTheStandardAspnetdbmdf.aspx


    ---
    WBR,
    Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    J> hey
    J>
    J> asp.net 2.0
    J>
    J> I'm wondering how to add the Membership tables to a database. When I
    J> create a website project and wants to register users, users are then
    J> automatically registered in the database ASPNETDB. (not sure name is
    J> correct?). But instead of that I want to use another database I
    J> create on my own. A database created in Sql Server 2005. So how do I
    J> create these Membership tables and stored procedures in this
    J> database. I've done this before and have simply forgotten how it's
    J> done :( I know there is a command or a script or something like that
    J> which I need to run against the database.
    J>
    J> any suggestions?
    J>
     
    Michael Nemtsev [MVP], Sep 9, 2008
    #2
    1. Advertising

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. Keith
    Replies:
    1
    Views:
    2,327
    Keith
    Jul 3, 2006
  2. Chris Brat
    Replies:
    5
    Views:
    697
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
  3. Mahernoz
    Replies:
    5
    Views:
    515
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    May 18, 2007
  4. cs_in_va
    Replies:
    1
    Views:
    516
    Eliyahu Goldin
    Mar 6, 2008
  5. nmsreddi
    Replies:
    1
    Views:
    152
    Prakash V
    Jun 9, 2006
Loading...

Share This Page