Copied to clipboard

Flag this post as spam?

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


  • Perry 1 post 71 karma points
    Apr 05, 2019 @ 06:56
    Perry
    0

    Umbraco 8 AutoMapper.AutoMapperMappingException - Custom membership provider unable to view or create member -

    Hi all,

    I have installed a clean version of Umbraco 8 and was looking to implement my own custom membership provider.

    I followed the following tutorial with a fair bit of success, being able to list and view the members from my own table within the member list view. https://24days.in/umbraco-cms/2015/extending-membership/

    I am however facing issues when attempting to 'edit' or 'create' a new member, I am receiving the following exception. It seems as though it is crashing when attemping to automap my member with the 'MemberDisplay' class.

    Does anyone have any ideas how I can resolve this? Thanks

    )]}', {"Message":"An error has occurred.","ExceptionMessage":"Error mapping types.\r\n\r\nMapping types:\r\nIMember -> MemberDisplay\r\nUmbraco.Core.Models.IMember -> Umbraco.Web.Models.ContentEditing.MemberDisplay\r\n\r\nType Map configuration:\r\nIMember -> MemberDisplay\r\nUmbraco.Core.Models.IMember -> Umbraco.Web.Models.ContentEditing.MemberDisplay\r\n\r\nDestination Member:\r\nTabs\r\n","ExceptionType":"AutoMapper.AutoMapperMappingException","StackTrace":" at lambdamethod(Closure , Member , MemberDisplay , ResolutionContext )\r\n at lambdamethod(Closure , Object , Object , ResolutionContext )\r\n at lambdamethod(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass62.

  • 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" button below.

    Continue discussion

Please Sign in or register to post replies