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.
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.
is working on a reply...