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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:34:56+00:00 2026-05-14T18:34:56+00:00

I have a bunch of Views in a default folder that represent single static

  • 0

I have a bunch of Views in a default folder that represent single “static” pages.

Everything works as advertised except i tried adding a new page yesterday.. using the exact same routing syntax and cannot for the life of me get it to work.

here’s is an example of a working route:

routes.MapRoute(
            "OurProgram",           // Route name
            "Our_Program",          // URL with parameters
            new { controller = "Default", action = "OurProgram" }  
        );

The filename is OurProgram and hitting http:// localhost/Our_Program/ opens the correct view which resides in the Views/Default folder.

So i added another view into this folder:

Views/Default/BuyNow.aspx and added the route:

routes.MapRoute(
            "BuyNow",                  // Route name
            "Buy_Now",                 // URL with parameters
            new { controller = "Default", action = "BuyNow" }  
        );

And this doesn’t open. I have tried the “route debugger http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx” and it correctly identifies the route.

I am at a lose. I have tried re-creating the view.. I am using MVC.Net 2.0 and VS 10.

Any help is 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-05-14T18:34:56+00:00Added an answer on May 14, 2026 at 6:34 pm

    Stab in the dark: Do you have a BuyNow action method in your controller? That’s what the new route is trying to call.

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

Sidebar

Related Questions

I'm working with ASP.NET MVC 2. I have a bunch of partial views that
If you have a layout that has a bunch of views that won't be
I have a UIScrollView in which I am placing a bunch of views as
I have a bunch of files in a folder checked out from a repository.
I have a bunch of html files that come with my app and are
I have a bunch of code in a routine that looks a bit like
I have the basic Master / Detail Views working great with the default ASP.NET
I have a page that has a bunch of widgets on it. Each widget
Basically I have a bunch of submission forms that gather data in a generic
I have this SearchMenuActivity that has a bunch of options the user can select.

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.