Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7077233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:23:48+00:00 2026-05-28T06:23:48+00:00

I have an Area called Admin. The folder structure in Visual Studio is this:

  • 0

I have an Area called Admin. The folder structure in Visual Studio is this:

Areas
   Admin
      Controllers
      Views

I have a controller called AccountController in which I have a Action called Verify. I have this line of code in this action:

return View("EmailVerificationComplete");

But, I get this error:

The view ‘EmailVerificationComplete’ or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Account/EmailVerificationComplete.aspx
~/Views/Account/EmailVerificationComplete.ascx
~/Views/Shared/EmailVerificationComplete.aspx
~/Views/Shared/EmailVerificationComplete.ascx
~/Views/Account/EmailVerificationComplete.cshtml
~/Views/Account/EmailVerificationComplete.vbhtml
~/Views/Shared/EmailVerificationComplete.cshtml
~/Views/Shared/EmailVerificationComplete.vbhtml

Why is this? Why does MVC not know to look in the Views folder relative to the Admin area?

How do I solve this?

Thanks,

Sachin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:23:49+00:00Added an answer on May 28, 2026 at 6:23 am

    Why does MVC not know to look in the Views folder relative to the Admin area?

    Because your AccountController is not inside the Admin area. It’s probably in ~/Controllers/AdminController.cs so by convention ASP.NET MVC will look in ~/Views/Shared or ~/Views/Account for its corresponding views.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an area setup in MVC2, called Admin/ , which I want I
I have a test solution which only has one area called Admin. I would
I created Area called Admin. I have Custom Helper in the root folder called
I have a project which has Area called Admin. There is a class called
I have an Area called PlanningBoard which has a controller called PlanningBoardController and a
I have a table called Area, that stores areas in a hierarchical manner. There
I have an ASP.NET MVC website and an area project called 'Admin'. So far
I have an area called Organisations. In this area I have a view with
I have a 2D area with dots distributed on this area. I now am
If I have a development area that I deleted files from a certain folder/directory,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.