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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:18:51+00:00 2026-06-13T04:18:51+00:00

I am working on an app and when I go to debug the application

  • 0

I am working on an app and when I go to debug the application starts at: localhost:54591/Views/Home/Index.aspx and gives me a resource not found 404 error.

I get this same issue when I type in the url:
localhost:54591/Views/Home/Index.aspx

But for some reason when I type in the url:
localhost:54591/Views/Home/

It works but now my header menu is not formatted correctly.

So what gives? For the life of me I cannot figure out what is wrong. If I can just figure out how to reroute at startup to localhost:54591/Views/Home/ I could figure out why the menu is not working but I do have a hunch that these problems are related.

public static void RegisterRoutes(RouteCollection routes)
    {
       // routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

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

    } 

Any help is greatly appreciated.

  • 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-06-13T04:18:52+00:00Added an answer on June 13, 2026 at 4:18 am

    It is not caused by routing (except 404 on non-existent page). By default VS will start web sites on page you are currently working on. So if you worked on Index.aspx at the moment of clicking F5 it will try to open that view.

    To change the behavior – change start page in project’s settings: Project properties -> Web -> change to “specific page”.

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

Sidebar

Related Questions

Up until yesterday I had a perfectly working app on my iPhone. I made
I am working on App which will set an alarm on ios for a
I've been working with app engine for quite some time, I know that there
i am working on app which deals with proximity alerts. I can add proximity
I had a working Active Admin app working on my local server, but after
I have my php app working fine, performing some other Graph API functions. However,
I've got a nice little web app working that brings down playlists and videos
I did heroku create and pushed a working rails app to the server. Everything
I've been trying to get the camera section on my app working for about
My app was working fine on my server. I moved it to another server,

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.