sqlroleprovider

Do most people use .NET's SqlMembershipProvider, SqlRoleProvider, and SqlProfileProvider?

Do most people use .NET's SqlMembershipProvider, SqlRoleProvider, and SqlProfileProvider when developing a site with membership capabilities? Or do many people make their own providers, or even their own membership systems entirely? What are the limitations of the SQL providers that would make you roll your own? Is it easy to extend t...

ASP.NET 3.5 IIS7 Roles Security Implementation

I'm working on a ASP.NET 3.5 application running on IIS7 (Server '08) using the stock MS Forms Authentication and SqlRolesProvider. (I used the aspnet_regsql tool to generate the tables). We have three roles: SysAdmins, AppAdmins, and Users. All users are in Users, and a user can be in either SysAdmins, AppAdmins or both. I can't ...

ProviderException: InvalidCastException

Few of our clients are regularly getting invalid cast exception, with variations i.e. InvalidCastException / ProviderException, but both generating from method call: System.Web.Security.SqlRoleProvider.GetRolesForUser(String username) The other variation is: Exception type: InvalidCastException Exception message: Unable to cast o...

Advanced .NET Membership/Role Provider

I'm in need of a RoleProvider with the following functionality: Dynamic Assignment of Roles to Tasks Authentication / Authorizaiton of IPrincipals based on the dynamically allocated tasks in the system they have privilege to access Reporting showing who is currently logged in, and other common usage statistics. I'm pretty sure I'm goin...