When I navigate to CMS login page. I enter username and password then I get this error:
[ArgumentNullException: Value cannot be null.
Parameter name: username]
System.Web.Util.SecUtility.CheckParameter(String& param, Boolean checkForNull, Boolean checkIfEmpty, Boolean checkForCommas, Int32 maxSize, String paramName) +11773375
System.Web.Profile.ProfileManager.DeleteProfile(String username) +62
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92
Anyone have any ideas?
In advance, thanks for your support.
Which membership provider are you using? Asp.Net Identity or default (v9)? Which EPiServer version?
I am also facing same issue and I am using WS Federation authentication.
Which version of the CMS you are using?
Commerce manager 1.0.
The reason you get this error when open the CMS is because "Name" claim is missing. Check your ADFS claims transformation rule, and make sure it's mapped to one of your LDAP aatributes.
Furthermore, if you miss "Name" claim, the user won't be synced into your [dbo].[tblSynchedUser] table, therefore when Episerver Shell module tried to validate your identity, it can't find your details in that table.
I hope this will help you to fix your problem.
p.s. I hit on the same issue today :)