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# User Authentication with ASP.NET Identity Adding User Registration Adding the User Registration Page

Cheryl Lewman
Cheryl Lewman
9,080 Points

I can't seem to get to the correct URL.

This is the error I'm getting:

Server Error in '/' Application.

The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Views/Register.cshtml

The Treehouse code wants to take you to /Account/Register, but I don't even have a folder with Account, which is confusing. I tried changing the url to ...Account... but it still didn't work. Not sure what I'm doing wrong.

1 Answer

Cheryl Lewman
Cheryl Lewman
9,080 Points

I found the problem- there are no instructions to add a folder in the Views folder named, Account. If you do that, and put the register file in it, it works.