You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm able to build and run the Private Web Site.
Next step would be to create a new user, which I succeed (and I see the new entry being added on the DB tables) but when I attept to logon I get a null value error while creating the Claim.
Well, probably you have the UserName column null at the database for the user that you used, so basically copy the data in email column to UserName column if you want to use the emil as user name.
When there is both username and email in user class,as Jaafar said ,the column UserName and Email shouldn't be null.
My be can define a default value for one of them and get another in register form .
I'm able to build and run the Private Web Site.
Next step would be to create a new user, which I succeed (and I see the new entry being added on the DB tables) but when I attept to logon I get a null value error while creating the Claim.
Something like:
[ArgumentNullException: Value cannot be null.
Parameter name: value]
System.Security.Claims.Claim..ctor(String type, String value, String valueType, String issuer, String originalIssuer, ClaimsIdentity subject, String propertyKey, String propertyValue)
System.Security.Claims.Claim..ctor(String type, String value)
Microsoft.AspNet.Identity.d__0.MoveNext()
This occurs only when providing the right password, with a wrong one it just tell me I'm wrong - which is correct behaviour.
Any hint?
The text was updated successfully, but these errors were encountered: