title: Mapping *.MVC to aspnet_isapi.dll on IIS7
body: <p>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.</p>
  
  <p>So our URL's would end up looking like this:
  <code>&lt;host&gt;\someController.mvc\action</code></p>
  
  <p>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.</p>
  
  <p>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.  </p>
  
  <p>On closer inspection the Failed Request Tracing keeps complaining about the following
  <code>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=""</code></p>
  
  <p>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.</p>