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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:54:38+00:00 2026-05-15T02:54:38+00:00

I added a route into my site to allow for a sitemap and everything

  • 0

I added a route into my site to allow for a sitemap and everything worked fine in IIS7 but once I deployed the route stopped working. Since the live server is running IIS6 I needed to put a new mapping in for .xml to be processed by .net and then it started to work.

My issue though is on every other xml file on the site now. I keep getting a 404 error when trying to view xml files, but the sitemap.xml route works. Is this a routing issue or an IIS setup issue?

Here are my routes if it will help

routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

routes.MapRoute(
    "Gallery-Group-View",
    "Projects/{groupId}",
    new { controller = "Gallery", action = "GalleryList", groupId = "" });

routes.MapRoute(
    "Gallery-List-View",
    "Projects/{groupId}/{galleryId}",
    new { controller = "Gallery", action = "GalleryView", groupId = "", galleryId = "" });

routes.MapRoute(
    "Sitemap",
    "Sitemap.xml",
    new { controller = "XML", action = "Sitemap" }
);

routes.MapRoute(
    "Default",
    "{controller}/{action}/{id}",
    new { controller = "Home", action = "Index", id = "" }
);
  • 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-15T02:54:39+00:00Added an answer on May 15, 2026 at 2:54 am

    The issue is that by default IIS 6.0 does not support extensionless routes. Here’s an article that should help you solve the problem.

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

Sidebar

Related Questions

I installed falang for an English-Spanish site. Everything was working fine until I started
I added the following route into my MVC app. routes.MapRoute(leads, leads/{leadId}, new { controller
I added Jquery toggle/show hide in my site (click the plus sign) http://pligg.marsgibson.info if
I added a hoverboard on my site that flips over to reveal more text.
I added an event handler to the WebClient's DownloadProgressChanged event, but it never seems
I have installed the HerzultFourmBundle into my Symfony2 application, added the calls in the
I'm new to rails and working my way into the tutorial here: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book I've
I'm working on an ASP.NET 3.5 site that is intended to be an intranet
I'm trying to use modules in the ZF 1.8 project but can't get working
I am working on building a lightweight MVC, mainly for the learning process but

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.