adding Membership tables to database, how?

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

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?
 
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>
 
Back
Top