473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

adding Membership tables to database, how?

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?
Sep 9 '08 #1
1 2202
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
Jhey
J>
Jasp.net 2.0
J>
JI'm wondering how to add the Membership tables to a database. When I
Jcreate a website project and wants to register users, users are then
Jautomatically registered in the database ASPNETDB. (not sure name is
Jcorrect?). But instead of that I want to use another database I
Jcreate on my own. A database created in Sql Server 2005. So how do I
Jcreate these Membership tables and stored procedures in this
Jdatabase. I've done this before and have simply forgotten how it's
Jdone :( I know there is a command or a script or something like that
Jwhich I need to run against the database.
J>
Jany suggestions?
J>
Sep 9 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: WB | last post by:
Hi, I am revamping my company's website with ASP.Net 2.0. In order to use our existing user data in our SQL 2000, I have written a custom membership provider. However, when I try to logon with...
6
by: Bob | last post by:
What is the best way to store custom information in the database when using the Membership class? I need to store an access level and I know I can write to the database manually but I was...
5
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my...
3
by: bbawa1 | last post by:
Hi, I am working on Membership and roles in Asp.net 2.0. I am using logincontrols in asp.net 2.0. When I use these login controls it automatically creates ASPNETDB.mdf database. which has...
3
by: Michael Lang | last post by:
Hi there, I have a web application that works fine on my local dev machine. However I'm having less success on my hosting environment. When I detach the database for this site, copy it to my...
3
by: GaryDean | last post by:
I have serveral applications now running that are using the MembershipProvider classes and they are each using their own security tables in SQL Server 2005 instead of the express databases - they...
6
by: Jonathan Wood | last post by:
Although this will be a challenge at my level of ASP.NET knowledge, I'm thinking I should implement my own membership provider class. Looking over the methods I must implement, a number of...
1
by: cs_in_va | last post by:
I currently have a database with tables and data hosted with GoDaddy and now I want to add ASP.NET membership to restrict access and have people login etc. I have watched several videos on this...
2
by: shapper | last post by:
Hello, Where can I find the tool, and the scripts to if possible, to deploy ASP.NET membership on my SQL database? And can I change the tables names? For example, instead of using...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.