Forum Moderators: open
<authentication mode="Forms">
<forms name="appNameAuth" loginUrl="Login.aspx" timeout="10" defaultUrl="Admin/Default.aspx">
<credentials passwordFormat="Clear">
</credentials>
</forms>
</authentication>
<roleManager enabled="true" defaultProvider="CustomizedRoleProvider">
<providers>
<add name="CustomizedRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="connectionString"/>
</providers>
</roleManager>
<membership defaultProvider="CustomizedMembershipProvider">
<providers>
<add name="CustomizedMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
connectionStringName="connectionString" applicationName="clickablecommunity"
commandTimeout="30" enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed"
maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"/>
</providers>
</membership>
And in my admin folder I have a web.config file that looks like this
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<deny users="*" />
<allow roles="BusinessAdmin" />
<allow roles="SuperAdmin" />
</authorization>
</system.web>
</configuration>
When I log in, it just get sent back to the login page. It even says welcome username in the corner (a loginview) so I know I'm logged in. I just added the login form that comes built in with VS 2008. Any ideas on what's wrong? Thanks