The error isn't an actual "error" but just reloads the sign-in page which tells me that it's not checking my role correctly. As far as the web.config file:
<configuration>
<location path="admin">
<system.web>
<authorization>
<allow roles="Administrator, Model" />
<deny users="*" />
</authorization>
</system.web>
</location>
</configuration>
The web.config file is located in a subdirectory (thus not using the main web.config file for many purposes). Also for programmability or "inline/code-behind", I can use this:
SqlRoleProvider srpMainDB1 = (SqlRoleProvider)Roles.Providers["MyRoleProvider1"];
SqlRoleProvider srpMainDB2 = (SqlRoleProvider)Roles.Providers["MyRoleProvider2"];
and call:
srpMainDB1.IsUserInRole(Page.User.Identity.Name, "Administrator")
Which is the easy part, just need to know what to do using a web.config file and/or a loginview control. Hope this helps...