Last post Jun 17, 2019 10:31 AM by AddWeb Solution
Jun 14, 2019 09:51 PM|oneillj|LINK
Created a custom roles provider and there seems to be something wrong with the RoleManager section. Everything runs as long as that section is commented out. The error is "Could not load RoleProviderAccess". System.Web Void Initiaize()". This is a website,
not a project so, there is no namespace or assembly involved. The module is in the App_Code folder. Everything seems to be pointing to the right places. I have done this once before and took all the same patterns from the other web.config. I refactored all
the methods from the base class. I am using static modules in another class to make the actual calls to the stored procedures but would imagine I'd get a syntax error if that were the problem. So, here is the web.config XML and the module declaration.
<roleManager enabled="true" defaultProvider="CustomRoleProvider">
<add name="CustomRoleProvider" type="RoleProviderAccess" connectionStringName="AppConnectionString" applicationName="/"/>
public class RolesProviderAccess : RoleProvider
} //end of class
Jun 14, 2019 10:37 PM|mgebhard|LINK
We can only guess without source code.
My best guess is the RoleProviderAccess does not implement the provider pattern properly.
Jun 17, 2019 10:31 AM|AddWeb Solution|LINK
Please Refer Below Link :