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 6324047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:38:03+00:00 2026-05-24T16:38:03+00:00

This is for an ASP.NET MVC3 web application. In RegisterRoutes I have the following

  • 0

This is for an ASP.NET MVC3 web application. In RegisterRoutes I have the following as my only line:

routes.MapRoute("Default", "Configuration", new { controller = "DeviceConfiguration", action = "Index" });

When I run the project, going to the URL /Configuration/ gives me a 404 error. However if I change the word Configuration to any other word, such as:

routes.MapRoute("Default", "Configuratio", new { controller = "DeviceConfiguration", action = "Index" });

Then going to the URL /Configuratio/ loads just fine. It seems as if ASP.NET is simply refusing to route to the URL /Configuration/.

Again, this is the only line in RegisterRoutes; I’ve tried commenting out everything else to debug this. I have no MapRoute or IgnoreRoute calls in my code anywhere else, and I am not editing the routing table in any location.

How can I change this behavior?

  • 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-24T16:38:03+00:00Added an answer on May 24, 2026 at 4:38 pm

    I suspect that you have a physical folder called Configuration under the root of your application. The ASP.NET MVC routing engine has preference for physical folders over routes. One possible way is to set the RouteExistingFiles property to true after your route definition:

    routes.MapRoute(
        "Default", 
        "Configuration", 
        new { controller = "DeviceConfiguration", action = "Index" 
    });
    routes.RouteExistingFiles = true;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is about asp.net mvc3 web application. We have used Object cache to store
Well, this is an interesting problem. I have an ASP.NET MVC3 Intranet application running
I have an ASP.Net MVC3 web application written in C#. I have one ActionResult
I have a asp.net MVC3 web application in which i search for a certain
I have created a web application using ASP.NET MVC3, and want to display a
I run an ASP.Net MVC3 application and have followed this Windows Azure How-To on
I'm following along the ASP.Net MVC3 application Music Store and I've noticed this. Here
I have the following WebGrid in my ASP.NET MVC3 test application. It displays a
I have an ASP.NET MVC3 web application with C# and Razor. Through a form
I have a web application (ASP.NET MVC3) which uses the jquery ui tab control

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.