Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > adding Membership tables to database, how?

Reply
Thread Tools

adding Membership tables to database, how?

 
 
Jeff
Guest
Posts: n/a
 
      09-09-2008
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?


 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      09-09-2008
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/Creat...pnetdbmdf.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>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership permissions after publishing an ASP.NET Membership site. Tino Donderwinkel ASP .Net 2 06-18-2008 08:16 AM
Move asp.net profile/membership tables to sql server Brandon Holliday ASP .Net 2 05-18-2007 04:16 PM
How can i deploy a database with Membership Tables? Mahernoz ASP .Net 5 05-18-2007 04:10 PM
ASP.NET Membership tables dissappear when db is attached to a different sql server instance. keith ASP .Net 2 02-26-2007 04:25 AM
Clear all tables (Membership, Profile, Users, ...) in SQL 2005 shapper ASP .Net 1 02-23-2007 08:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57