Installing membership related schema to an existing database is very easy task. Asp.net SQL Server Registration Tool(
To run from command prompt navigate to:
Start Menu> Microsoft Visual Studio 2010> Visual Studio Tools>Visual Studio Command Prompt(2010)
In the command prompt write aspnet_regsql command and press enter key as the screen shows.
To run from
%Windows%\Microsoft.NET\Framework\v4.0.30319 and double click on
ASP.NET SQL Server Setup Wizard will be appeared as follows:
Press Next button and you will get following screen:
On the next screen you will be prompted to select the database with credentials to which you want to setup membership.
Click Next to confirm your settings and click next again to execute the wizard and finally asp.net membership schema will be created on your database.
If you are interested to know more on asp.net membership you can navigate here:
Examining ASP.NET's Membership, Roles, and Profile
Thanks
aspnet_regsql.exe
) provides a very easy way to achieve the goal. We can run the registration tool from from Visual Studio Command Prompt or we can navigate to aspnet_regsql.exe
file location and run the file.
To run from command prompt navigate to:
Start Menu> Microsoft Visual Studio 2010> Visual Studio Tools>Visual Studio Command Prompt(2010)
In the command prompt write aspnet_regsql command and press enter key as the screen shows.
To run from
aspnet_regsql.exe
file location navigate to:%Windows%\Microsoft.NET\Framework\v4.0.30319 and double click on
aspnet_regsql.exe
to run the tool.ASP.NET SQL Server Setup Wizard will be appeared as follows:
Press Next button and you will get following screen:
On the next screen you will be prompted to select the database with credentials to which you want to setup membership.
Click Next to confirm your settings and click next again to execute the wizard and finally asp.net membership schema will be created on your database.
If you are interested to know more on asp.net membership you can navigate here:
Examining ASP.NET's Membership, Roles, and Profile
Thanks
how do you do this in a hosting env, or integrate the script into your db file?
ReplyDeleteyou can customize asp.net membership or diff /copy it with sql commander
ReplyDelete