TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Xola Dlamini
NA
64
3.2k
receiving UserId error when trying to log in as admin
Apr 21 2020 8:04 AM
im currently learning how to create an mvc application and im working on authentication and authorization
ive create an initializer class to create an admin user and role into identity database when they are created.
ive hard coded the admin, the role and the password.... when i run the application and try to login using the credentials i get the following error:
UserId not found
this line of code is highlighted:
... = userManager.SetLockoutEnabled(user.ID,false);
Reply
Answers (
1
)
Browser Extension for IE
my Add button is not adding products to datagridview