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

  • SEARCH
  • Home
  • 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 7539769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:28:16+00:00 2026-05-30T07:28:16+00:00

Just created a new MVC 4 project and copied over some areas from an

  • 0

Just created a new MVC 4 project and copied over some areas from an MVC 3 project. I have double checked all my web.configs and arearegistration.cs. My configs all point to the correct versions of razor and MVC and my routes.MapRoute signature includes the correct namespace parameters, I also checked and made sure my IIS pool was not hosting more than one MVC app.

my Global.asax file…

routes.MapRoute(
            "Default", // Route name
            "{controller}/{action}/{id}", // URL with parameters
            new { controller = "Home", action = "Index", id = UrlParameter.Optional }, // Parameter defaults
            new string[] { "MVCProject.Web.Controllers" }
        );

my area registration files…

context.MapRoute(
            "Admin_default",
            "Admin/{controller}/{action}/{id}",
            new { controller = "Home", action = "Index", id = UrlParameter.Optional },
            new string[] { "MVCProject.Web.Areas.Admin.Controllers" }
        );

and …

context.MapRoute(
            "Terminator_default",
            "Terminator/{controller}/{action}/{id}",
            new { controller = "Home", action = "Index", id = UrlParameter.Optional },
            new string[] { "MVCProject.Web.Areas.Terminator.Controllers" }
        );

I have checked everything I know to check to fix this
, the correct dll’s area loaded as well…

  • 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-30T07:28:17+00:00Added an answer on May 30, 2026 at 7:28 am

    Ok I figured out what was going on. I’ll answer my own question in hopes that it helps someone else.

    Typically when you create a new MVC project in VS 2010 you get what the template gives you as far as name spaces and a stubbed out home controller or two. I like to break my MVC app up into the usual layers (Data, Model & Service) with each layer being in it’s own project. Then I rename my web project to append .web to the project name and name space “MyWebProject.Web”.

    The template created the app prior to me renaming the web project and stubbed out a home controller for me. The home controller created by the template was in the MyWebProject.Controllers namespace, my routes.MapRoutes() used MyWebProject.Web.Controllers as a parameter.

    Once I moved my stubbed out controllers created by the template into the MyWebProject.Web.Controllers namespace it fixed the problem.

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

Sidebar

Related Questions

I have just created a new MVC 3 project and updated all the installed
I have just created a new project with a many-to-many relation (User-Group) and the
I have just created a new project in VS2010 using the Visual c# >
I am completely new to ASP.Net MVC. I just created an MVC3 project in
I have an ASP.NET MVC 3 project that I just created using the project
I have created a new ASP.NET MVC project using the MVC Project Template. According
I'm new to asp.net mvc. I just created the default asp.net mvc project in
I just created a new project using the visual studio cordova starter template. However
I've just created a new MySQL user with a password and granted them all
I just created a new project in MVC3 using EF4 code first deployed on

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.