MVC can't find my Areas page

Posted by Steven on Stack Overflow See other posts from Stack Overflow or by Steven
Published on 2011-01-16T00:46:14Z Indexed on 2011/01/16 0:53 UTC
Read the original article Hit count: 105

Filed under:
|
|

I created an Area in my application named Admin. It's pretty basic, looks like this:

  • Areas
    • Admin
      • Controllers
        • CompaniesController.cs
      • Models
      • Views
        • Companies
          • Index.aspx
      • AdminAreaRegistration.cs

When I try to view my Index page by going to /Admin/Companies, I get a "The resource cannot be found" message. I find it weird that I don't get any sort of error message.

I'm not sure what's going on here, has anyone come across this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET