ASP.NET 4 Hosting :: How to set up Forms Authentication for your ASP.NET web site
Posted
by mbridge
on Geeks with Blogs
See other posts from Geeks with Blogs
or by mbridge
Published on Fri, 24 Jun 2011 03:13:26 GMT
Indexed on
2011/06/24
8:23 UTC
Read the original article
Hit count: 393
Filed under:
Please follow this steps:
1. Log in to your Control Panel.
1. Log in to your Control Panel.
2. From the menu, select Databases ? SQL Server 2008.
3. Click the Create User button.
4. Enter a user name and password and click Save. In this demonstration, the user name is dotnetuser and the password is dotnetuserpass.
5. Click the Create Database button.
6. Enter a database name and grant access to the user you created above and click Save. In this demonstration the database is called DotNetAuthentication.
7. Locate and run the ASP.NET SQL Server Setup Wizard. This file is located in your .NET framework directory and is named aspnet_regsql.exe (example: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe).
8. Click Next and choose Configure SQL Server for application services.
9. Click Next and enter the server name and database log in credentials. The server name is the web site pointer address to where your application will be published and the log in credentials are the SQL server user name and password created earlier.
10. Click Next twice and the wizard will take a moment to complete the scripting actions that populate the new database with all the objects necessary to configure the ASP.NET provider. Once complete, click Finish to close the wizard.
11. Finally, modify the web.config file in your ASP.NET web application to use the database you created.
© Geeks with Blogs or respective owner