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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:09:26+00:00 2026-05-30T09:09:26+00:00

We have a .net 3.5 application (MVC and WebForms mixed) that was hosted on

  • 0

We have a .net 3.5 application (MVC and WebForms mixed) that was hosted on IIS6. In order to make it work on IIS6 we had to add custom mappings to IIS such that *.MVC would map to aspnet_isapi.dll.

So our URL’s would end up looking like this:
<host>\someController.mvc\action

But now that were setting this web app up on IIS7, with classic mode pooling, were trying to do the same thing so that we don’t have to change anything about the application.

But after adding the *.MVC Handler mapping in IIS7 it still does not seem to be picking it up. Every time we navigate to our MVC pages, we get 404 errors. However, our .aspx pages load fine.

On closer inspection the Failed Request Tracing keeps complaining about the following
ModuleName="IIS Web Core", Notification="MAP_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="0", ErrorCode="The system cannot find the file specified.
(0x80070002)", ConfigExceptionInfo=""

I’m running in circles. We were able to set this up on another IIS7 machine yet this one were trying to set it up on just refuses to work. I really don’t know what I’m missing. Its like the mapping rule is not triggering at all. Because the same error occurs if we just type in random things for the file name in the URL.

  • 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-30T09:09:27+00:00Added an answer on May 30, 2026 at 9:09 am

    I just dealt with this, and what really did it for me was getting rid of the entire MvcHttpHandler (remove it from your

    <system.webServer>/<handlers>
    

    configuration tag).

    MSDN states that this handler is only useful when the UrlRoutingModule is not enabled for all requests (which in IIS7+ we can), hence why it’s useful for IIS6 (and also why we need the *.mvc extension to route properly).

    So just remove the MvcHttpHandler reference in your handlers, and make sure you:

    • Have the application running in an app pool with Integrated Mode (not Classic)
    • You have the runAllManagedModulesForAllRequests modules attribute set to “true”

      <modules runAllManagedModulesForAllRequests="true">
      

    If you are still getting 404’s then it’s either your MVC doing it (which really sidetracked me :S) another reason.

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

Sidebar

Related Questions

I have an ASP.NET WebForms application that I'm adding some ASP.NET MVC to. I
I have an ASP.NET WebForms application that I'm trying to switch to MVC for
I'm just wondering, if I have an ASP.net Web Application, either WebForms or MVC,
in a ASP.NET application (MVC) I have a foreach loop that loops through a
I have an ASP.NET MVC-application which I want deployable on both IIS6 and IIS7
I have an Asp.Net MVC application that works in the vs.net development web server.
I have an existing ASP.NET web application that I'm converting to MVC 1.0. The
We have a legacy ASP.NET webforms application that we're engaged in stabilising and removing
I have an older ASP.NET MVC application that uses classic web forms views. As
I have an ASP.NET MVC application that returns a Customer object that is converted

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.