Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phil 31 posts 53 karma points
    Nov 24, 2011 @ 07:34
    Phil
    0

    ASP.Net Membership has locked up Members UI in BackOffice

    Has anyone had this occur?  I'm using Umbraco 4.7.0 and simply replaced the Umbraco membership references with the standard asp.net membership for membership, roles and profiles.  My relavent config is below.  I created members and roles in the WAT as would normally be done.  I was expecting to see my members when I clicked on the "Members" link but No!!  Instead I receive a continuous "loading" of the members section which makes no sense.  I'm able to authenticate my users properly and save properties in the new sql provider.  Can anyone clue me in on what I'm doing wrong?  When I replace the default SQLMembershipProvider with UmbracoMembership provider the members page loads but of course it shows the wrong data.  

    <connectionStrings>

        <remove name="LocalSqlServer"/>
         <add name="UCommerce" connectionString="server=DEVAPP1;database=beachbase;user id=beachxxx;password=xxxx" providerName="System.Data.SqlClient"/>
    </connectionStrings>

        <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/"/>
        </authentication>
        <authorization>
          <allow users="?"/>
        </authorization>
        <!-- Membership Provider -->
        <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear/>
            <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="UCommerce" enablePasswordRetrieval="true" passwordFormat="Clear" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="20" minRequiredPasswordLength="2" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="visitor" applicationName="/" />
            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Clear" applicationName="/"/>
          </providers>
        </membership>

        <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
          <providers>
            <clear/>
            <add name="AspNetSqlRoleProvider" connectionStringName="UCommerce" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
           <!-- <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider"/>-->
          </providers>
        </roleManager>

        <profile defaultProvider="SqlProfile" enabled="true">
          <providers>
            <clear/>
            <add name="SqlProfile" type="System.Web.Profile.SqlProfileProvider" connectionStringName="UCommerce" applicationName="/" />
          </providers>
          <properties>
            <clear/>
            <add name="firstName" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="lastName" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="alerts" type="Boolean" allowAnonymous="false" provider="SqlProfile"/>
            <add name="birthday" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="home_Ph" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="cell_Ph" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="email" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="firstLogged" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="lastLogged" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="currLogged" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="lastUrl" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="address1" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="address2" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="city" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="state" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="zip" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="isShipAddress" type="Boolean" allowAnonymous="false" provider="SqlProfile"/>
            <add name="bra" type="String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="swimtop_Ltr" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="swimtop_Num" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="swimbtm_Ltr" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="swimbtm_Num" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="men_Ltr" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
            <add name="men_Num" type="System.String" allowAnonymous="false" provider="SqlProfile"/>
          </properties>
        </profile>

Please Sign in or register to post replies

Write your reply to:

Draft