Copied to clipboard

Flag this post as spam?

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


  • firepol 125 posts 173 karma points
    Aug 28, 2014 @ 11:28
    firepol
    0

    Not working anymore with umbraco 6.2.x (new membership provider)

    Unluckily this plugin doesn't work anymore on umbraco 6.2.x, I suspect because umbraco 6.2 introduced a new membership provider.

    When I try to change a password via package I get this error:

     

    Server Error in '/' Application.

    Unable to cast object of type 'Umbraco.Web.Security.Providers.UsersMembershipProvider' to type 'umbraco.providers.UsersMembershipProvider'.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidCastException: Unable to cast object of type 'Umbraco.Web.Security.Providers.UsersMembershipProvider' to type 'umbraco.providers.UsersMembershipProvider'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [InvalidCastException: Unable to cast object of type 'Umbraco.Web.Security.Providers.UsersMembershipProvider' to type 'umbraco.providers.UsersMembershipProvider'.]
       UmbracoChangePasswordDashboard.ChangeUserPassword.UpdatePassword_Click(Object sender, EventArgs e) +348
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9752490
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +196
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446

     

    Any chance to update this package, or better to create a new version that works with umbraco 6.2.x and let this one as is?

    Or is there some source code available?

    THX for letting me know. This is the only solution I know to let the user change his password without giving him access to the whole "Users" section... cheers

  • Gareth Evans 143 posts 335 karma points c-trib
    Aug 28, 2014 @ 23:18
    Gareth Evans
    0

    I am pretty sure that that's a built in feature now on the main content tab? If not, happy to dig out the source and email it to you (as per the email you sent)

Please Sign in or register to post replies

Write your reply to:

Draft