Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Error in ASP MVC Authontication

i create Sample App in MVC5 C# and create user in code in StartUp.cs file when in tray to login by this user i get Error i need to know how to solve it this is Link in Github https://github.com/mohamedShabana/TestPro.git i really need Help

1 Answer

James Churchill
STAFF
James Churchill
Treehouse Teacher

Mohamed,

What is the error that you are receiving?

Are you able to use the registration form to create a new user? After creating the new user, can you login with that user's credentials? I'd start with confirming that you can use the app to create a new user and then sign-in as that user. Once you've confirmed that's working, then I'd attempt to seed the database with an admin user.

Thanks ~James