Installing Asp .Net Membership Tables

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

In this short blog post I will show you how to install Asp .Net Membership tables in your Existing database. If you are new to Asp .Net Membership concept you can read about each one of them in details at following MSDN article.

Asp .Net Membership Providers

So let's say you have an existing database with all the tables related to your application. The good thing about Asp .Net Membership is that you can enable it at any point in your application. For demo purposes I will be installing these tables into an empty database but you can add them to along side your existing tables in your existing database.

First of all we need to get the exe named aspnet_regsql.exe. This is the tool we will use to install Application services tables in our database. You can find out this toll at following location.

drive:\%windir%\Microsoft.NET\Framework\version

In my case the Windows OS is installed on C drive so this exe is located at following location on my machine. You should be able to locate this file likewise on your machines too.

C:\Windows\Microsoft.NET\Framework\v2.0.50727

Next thing to do is create/modify the database where we need to install these Application Services tables. I have created a temporary database AppServicesTest in my local SQL Server instance.


Welcome To My Blog

Facebook Twitter Google Digg Reddit LinkedIn Pinterest StumbleUpon Email

Welcome to my blog. This is the introductory Blog post so I will try to keep it as simple as possible. The application I will be using to blog about all Microsoft Technologies is also built using Asp .Net MVC 3 and SQL Server 2008. Being the first post I will keep it very short. That's it for now guys. Thank you all for visiting this Blog.