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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:47:40+00:00 2026-05-31T15:47:40+00:00

In my application I have a route: routes.MapRoute( name: ILRoute, url: {*Path}, defaults: new

  • 0

In my application I have a route:

routes.MapRoute(
        name: "ILRoute",
        url: "{*Path}",
        defaults: new { controller = "Page", action = "index", Path = "" });

And in my controller I get the path and find what page was called and return the view that I want with page data.

It works fine when I am running on VS 2010 but when I upload to the server I get the error 404 when calling some pages. For example: I have menu that link attr set to ‘channels’. In VS 2010 it works fine and when the menu is clicked the channel page appears but on the server a 404 error appears. I changed the URL in my browser manually to this:

myserverIP/websiteNAme/Home

and in this state when I click on the “channel” menu the page appears! But in the last state the browser says: File or directory not found, browser try to access this URL:

MyServerIP/channel

  • 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-31T15:47:42+00:00Added an answer on May 31, 2026 at 3:47 pm

    finally i found solution to solve problem
    i use “/” and domain name and menu link like this
    “/domainName/MenuLink
    so when user click on the menu the url going correctly
    tnx every body

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

Sidebar

Related Questions

If I have a route: routes.MapRoute( RouteName, // route name {action}, // url with
If we use this standard route: routes.MapRoute( Default, // Route name {controller}/{action}/{id}, // URL
Why doesn't this work? Route: routes.MapRoute( Summary, {controller}/{id}, new { controller = Summary, action
I have the following routes defined for my application: routes.MapRoute( Referral, // Route name
i have this map-route in my global: routes.MapRoute( SiteMap, sitemap.xml, new { controller =
In my MVC application I have the following mapping: routes.MapRoute(testRoute, services/service.js, new {controller =
In my MVC application I have a default route defined: routes.MapRoute( Default, // Route
I have default routing set for my mvc application like: routes.MapRoute( Default, // Route
So, I have implemented custom routing in mysite. routes.MapRoute( WithFriendlyNameOnly, {friendlyName}, new { controller
I have this route that worked before we upgraded our application to MVC3: routes.MapRoute(

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.