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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:48:26+00:00 2026-05-16T18:48:26+00:00

this could be seen as a follow-up to this SO question here . Now

  • 0

this could be seen as a follow-up to this SO question here. Now we have moved on more than a year and ASP.NET MVC2 comes along without a default.aspx

I must have done something to my project in that when I hit the root, the server lists the directory and does not route through my default route. The Routing seems to be accepted, though, as calling /Home goes to the default action {controller}/Index. When I start the ASP.NET MVC2 template, default routing works.

However, I cannot see any differences right now.

What have I done? Deleted some magic setting in the web.config or anything else?

Thanks for any pointers.

EDIT:
This is my route mapping –

  routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  routes.MapRoute(
    "Link", 
    "link/{id}",
    new { controller = "Link", action = "Index", id = "" },
    new { controller = @"[^\.]*" }
  );
  routes.MapRoute(
      "Default", // Route name
      "{controller}/{action}/{id}", // URL with parameters
      new { controller = "Home", action = "Index", id = UrlParameter.Optional }
  • 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-16T18:48:27+00:00Added an answer on May 16, 2026 at 6:48 pm

    The issue that resulted in this situation was completely unrelated to ASP.NET MVC. By some incredible c***-up in the solution configuration the web project wasn’t built, but the project is started nonetheless, with a stale dll that has nothing to do with your development.

    Make sure your app is built and you will most likely see expected results!

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

Sidebar

Related Questions

I could do this myself given time but does anyone have a nice asp.net
I have roughly the following code. Could this be made nicer or more efficient?
This could be weird, Have you ever come across a blog which you wanted
I suppose this question could just as easily be applied to PHP with regard
I have a lot of classes in the App_Code directory could this be a
This could be a little off the ballpark, but a friend asked me about
Can anybody please explain how this could possibly happen? I am completely aware of
I am busy writing my thesis (so, I guess this could count as a
Possible Duplicate: How do I calculate someone's age in C#? Maybe this could be
I could do this in C#.. int number = 2; string str = Hello

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.