Copied to clipboard

Flag this post as spam?

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


  • Thomas Dolberg 74 posts 95 karma points
    Jan 26, 2011 @ 09:58
    Thomas Dolberg
    0

    Changing to asp.net membership breaks login to the backend

     

    Hi all,

    I have changed my membershipprovider to use the default asp.net membershipprovider installed with aspnet_regsql.

    The good news is that the membershipprovider is working when a member logs in.

    But after changing the membershipprovider I cannot login to the umbraco backend anymore as an administrator / editor. When hitting the login-button, it throws the exception below

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.login.Button1_Click(Object sender, EventArgs e) +164
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3690

     

    Any ideas?

    thanks

    Thomas

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    Jan 26, 2011 @ 10:40
    Jan Skovgaard
    0

    Hi Thomas

    What steps have you gone throuhg changing the membership provider?

    /Jan

  • skiltz 501 posts 701 karma points
    Jan 26, 2011 @ 11:16
    skiltz
    0

    Don't delete        <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" /> in the web.config

    or in umbracosettings.config in look for the providers element.

     

     

     

  • Thomas Dolberg 74 posts 95 karma points
    Jan 26, 2011 @ 12:27
    Thomas Dolberg
    0

    @skiltz, thanks it worked :-)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies