title: IIS 7.5 routing not working (all usual methods tested)
body: <p>I have a client who has one webpage with customized routes added in global.asax (they are extension-less):</p>
  
  <pre><code>Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
  Routing.RouteTable.Routes.Clear()
  Routing.RouteTable.Routes.MapPageRoute("Key1", "String", "~/Route")
  </code></pre>
  
  <p>Unfortunately this redirections are not working on IIS 7.5. I've tested that:</p>
  
  <ul>
  <li>HTTP redirection is installed over IIS</li>
  <li>Tried to runAllManagedModulesForAllRequests="true" (in the web.config)</li>
  <li>Use the manual add of UrlRoutingMode (http://www.britishdeveloper.co.uk/2010/06/dont-use-modules-runallmanagedmodulesfo.html)</li>
  </ul>
  
  <p>The pool in in integrated mode, 4.0. This server is running a lot of MVC3 pages, and they are using routing by default.</p>
  
  <p>Any light will be very apreciated! Thanks</p>
  
  <p>======================================================================</p>
  
  <p>EDIT: Ok, I'm not able to find any solution.</p>
  
  <p>At the webconfig, inside assemblies:</p>
  
  <pre><code>&lt;add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&gt;
  </code></pre>
  
  <p>At system.webServer:</p>
  
  <pre><code>&lt;system.webServer&gt;
  &lt;validation validateIntegratedModeConfiguration="false" /&gt;
  &lt;defaultDocument&gt;
  &lt;files&gt;&lt;add value="Page.aspx" /&gt;&lt;/files&gt;
  &lt;/defaultDocument&gt;
  &lt;modules runAllManagedModulesForAllRequests="true"&gt;
  &lt;remove name="UrlRoutingModule"/&gt;
  &lt;add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule,System.Web.Routing,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35" /&gt;
     &lt;/modules&gt;
  
  
  
  &lt;/system.webServer&gt;
  </code></pre>