title: URL Rewriting in Asp.net 4.0 not working on IIS 7
body: <p>I am doing URL rewriting by registering routes and its working on my local machine(Windows 7).</p>
  
  <p>But when I deploy the application to a dedicated server(Windows Server 2008 and II7), it says Resource not found when I hit the URL that is mapped to my page.</p>
  
  <p>Following is the path that is being mapped: </p>
  
  <pre><code>routeCollection.MapPageRoute("School", "{pageid}", "~/PublicProfile.aspx");
  </code></pre>