In case we are working with Web Parts and Login Controls, then the installation of SQL Express becomes mandatory. We can install it by customizing the Visual Studio Installation. Afterwards we need to give the following command. C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regsql.exe This will help in setting up the membership, personalization tables in the SQL Server.