Posted on: 4/9/2015 2:40:40 AM | Views : 850

Hi
I have followed the following: https://msdn.microsoft.com/en-us/library/44w5aswa(v=vs.140).aspx
I've created my class and added it to my App_Code folder.
My WebConfig:
<roleManager defaultProvider ="CustomRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All" > <providers> <clear /> <add name="CustomRoleProvider" type="HCCWebBusinessPlanningSolution.AspNet.Roles.CustomRoleProvider, App_Code" connectionStringName="DefaultConnection" applicationName="/HCCWebBusin ...

Go to the complete details ...