The Role Manager feature has not been enabled ?
When you run ASP.NET web application, and when you try to do a Role operation such as adding a role, you might get an error message:
Micorosoft's Membership Provider Implementation Sample Code
ASP.NET membership is designed to enable you to easily use a number of different membership providers for your ASP.NET applications. You can use the supplied membership providers that are included with the .NET Framework, or you can implement your own providers.
Where is the MembershipProvider abstract class in .NET 4.0 ?
Question: When I want to create a custom membership provider in asp.net 4, I can not find MembershipProvider abstract class for inheritance , where is it ?
Implementing your own Membership Provider
ASP.NET has already provided membership providers that are included with the .NET Framework. You can use them directly for any web sites without spending your more design. However, you must feel the supplied membership providers are not convenient for your projects. Microsoft MSDN site also gave the reasons why you need to implement your own Membership provider: