title: The directory or file specified does not exist on the Web server
body: <p>I have a hybrid asp.net web forms / mvc application that I recently converted to .net 4 with mvc2. I have set-up that application to run on IIS 7.5 (on Windows 7) and the web forms part of the site is running okay but the MVC part is not. Whenever I try and access a page that needs to go through the routing engine I get</p>
  
  <p>HTTP Error 404.0 - Not Found<br>
  The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.<br>
  Module  IIS Web Core<br>
  Notification    MapRequestHandler<br>
  Handler StaticFile<br>
  Error Code  0x80070002  </p>
  
  <p>I'm debugging this web site through VS2010 (so I've set-it-up to use IIS instead of Cassini) and when I put a break point in the Application_Start function it is never hit so the routes are never registered. When I put a break point in the Page_Load function in one of the aspx page code-behinds it gets hit. So it seems that the problem is that the route is not being registered.</p>
  
  <p>What am I missing?</p>