I am getting an error "Default Role Provider could not be found" in my ASP.NET 4 application.
I have created a role provider, and I am using the following in my web.config file
<roleManager defaultProvider="TMS" enabled="true" >
<providers><clear />
<add name="TMS" type="Security.TMSRoleProvider" />
</providers>
</roleManager>
I have implemented the start of what will eventually be my role provider
namespace Security
{
public sealed class TMSRoleProvider : RoleProvider
{
public override string Name
{
get { return "TMS"; }
}
public override void Initialize(string name, NameValueCollection config)
{
return;
}
// Other methods throw not implemented exceptions
}
}
When I run my application, if I set a ...
Go to the complete details ...