Jose R. Guay Paz

Most of the time on
ASP.NET, C# & SQL Server

Sponsors

News

INETA Community Speakers Program

My latest tweets

this.blog.owner=

  • CSW Solutions
  • Follow Me
  • Works On My Machine

.NET Communities

  • INETA Latam

Blogs I Read

Websites I like

The ASP.NET Capsule #1: Setup SQL Server to Support Forms Authentication with the Membership Provider

Hi all.

For the first ASP.NET Capsule, I want to show you how to setup SQL Server to support forms authentication with the Membership Provider in an ASP.NET website.

So for that, the framework provides with the tool aspnet_regsql.exe that you can launch from the command line (for best results, launch the Visual Studio 2008 Command Prompt) and it will show you the following screen:

image

When you click next, it will ask you what do you want to do. Configure the database or remove the configuration from the database.

image

After selecting to Configure SQL Server for application services, we click next and it will prompt for the location of SQL Server.

image

Then we click next and it will show the summary of options selected in the previous screens.

image

And finally we click next to actually perform the setup. After a few seconds, the following screen will show up.

image

And that’s it, you have now a SQL Server ready to support Forms Authentication in your websites.

Hope you liked it, and as usual, all comments are welcome.

Enjoy!!

Comments

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# March 24, 2009 10:46 AM

Nitin.Gupta.20 said:

Hi,

Please can you tell me in details about the windows authentication and role based authorization.

# April 6, 2009 2:15 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)