Author: tomaszwaraksa | Posted on: 4/20/2005 7:10:03 AM | Views : 306

Follow those steps:
 
1. Equip your database with stuff needed for Membership services to work, by running the aspnet_regsql.exe wizard (to be found in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215 folder). Make sure that local ASPNET account is a database user and has access rights to this database
 
2. Add this section in web.config file, under the root node - it defines a connection string to the database above:
 
  <connectionStrings>    <remove name="LocalSqlServer" />    <add name="LocalSqlServer" connectionString="data source=127.0.0.1;Integrated Security=SSPI;Initial Catalog=MyDatabase"      providerName="System.Data.SqlClient" />  </connectionStrings>
3. Define your custom role manage ...

Go to the complete details ...