adding Membership tables to database, how?

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?
 
M

Michael Nemtsev [MVP]

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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top