Friday, 14 February 2014

Creating the ASP.net Membership Tables In SQL Server

Because I always forget and I rarely have to create the asp.net membership tables (usually backup from exisitng database) I decided to put the command in a blog post. So the command:

aspnet_regsql -S -d -E -A mr 

-S and -d are obvious command line options. -E authenticates using the Windows credentials of the currently logged-on user. - A adds support for one or more ASP.NET application services. Service identifiers can be specified together or separately. The following identifiers are used for ASP.NET application services: m - Membership r - Role Manager

No comments:

Post a Comment