Click here to Skip to main content
13,251,760 members (25,366 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


6 bookmarked
Posted 29 Apr 2013

How to implement ASP.NET Membership into a new database

, 29 Apr 2013
Rate this:
Please Sign up or sign in to vote.
This article will show you how to implement Asp.Net membership into a new database


Almost of the systems created will have a function to login to manage all of its data, it called with a namely is Login function. So, Microsoft created a component as a template to do this work to save your time when building a new system.

You want to work with this function, then firstly you need to know how to integrate it into your SQL database.

  • Step 1: Do the easily work to create the new database in SQL server.
  • Step 2: Once your database has been created, then you will do the work to integrate the membership in to its.
  • Step 3: Open the .NET Framework folder putted inside window folder as the path: C:\Windows\Microsoft.NET\Framework\v4.0.30319 (depends on your .NET framework version then your path will different), then run the application namely aspnet_regsql.exe.
  • Step 4: It will show an ASP.NET SQL Server Setup Wizard dialog. Click the Next button to go to the next step. 

  • Step 5: Choose Configure SQL Server for application services if you want to apply this function to the new database. Otherwise, choose Remove application services information from an existing database if you want to remove this function from a database which is implementing it. In this guide I will chose option 1 is implementing it to the new one database.
  • Select option 1 and clicking to Next button, it will show a dialog as in step 6.

  • Step 6: You need to put the information of your server and then choosing the database that you want to implement this function.

    Once you selected the database, then clicking to Next button. Click Next button one more time to confirm you exactly want to implement this function into selected database. Waiting some seconds before the work is done. Click Finish button to complete your work. 

  • Step 7: Open your SQL server to check the result. If your work is successfully then your db will has some tables as the screenshot. 

Hope that helps.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Product Manager
Vietnam Vietnam
Updated LinkedIn:

I am currently working as the position of project manager for a long time. Had to take care a lot of projects at the same times, so I don't have many free times in a day for contributing the articles, tips/tricks on codeproject.
While I was at the previous company sometimes I participated in training courses for new employees, so I have good teaching skills and ability to convey information to others. Meaning in each my post I will try to explain more detail as possible for the junior devs are able to implement/understand what's I have done.

Also, would like to share my responsibilities for current position:

• Coordinate internal resources and third parties/vendors for the flawless execution of projects
• Ensure that all projects are delivered on-time, within scope and within budget
• Assist in the definition of project scope and objectives, involving all relevant stakeholders and ensuring technical feasibility
• Ensure resource availability and allocation
• Develop a detailed project plan to monitor and track progress
• Report and escalate to management as needed
• Perform risk management to minimize project risks
• Establish and maintain relationships with third parties/vendors
• Create and maintain comprehensive project documentation
• Support team members to solve technical issues

Opening and looking forward to finding suitable jobs.

You may also be interested in...

Comments and Discussions

NewsWeb Application Starter Kit for .NET Developers Pin
Konstantin Tarkus11-May-13 7:08
memberKonstantin Tarkus11-May-13 7:08 
QuestionWorks at .Net 3.5 ? Pin
ale_gallardo29-Apr-13 10:02
memberale_gallardo29-Apr-13 10:02 
Works at .Net 3.5 ?
AnswerRe: Works at .Net 3.5 ? Pin
chien.vh29-Apr-13 17:02
memberchien.vh29-Apr-13 17:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171114.1 | Last Updated 29 Apr 2013
Article Copyright 2013 by ChienVH
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid