Try our conversational search powered by Generative AI!

Error with IdentityRegistrar


I am trying to use the Commerce.Security.IdentityRegistrar with the CreateUser function, but when I call the code I am receiving an error that states "Constructor on type 'EPiServer.Cms.UI.AspNetIdentity.ApplicationUser' not found."

Has anybody tried to get the IdentityRegistrar working with StructureMap and ran into this error?  I am on version 10.2 currently.

Jan 04, 2017 20:19

I hope this file will solve your issue: 

Jan 06, 2017 2:14

Seems the method is looking for a constructor with username of ApplicationUser.  This should probably be registered as bug.  Workaround is to subclass ApplicationUser and add contructor with username.

Jan 08, 2017 14:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.