I have a asp.net website with url routing (not mvc). Routing works perfectly on local but its not working on live server. What could be the problem. I have done following things.
I have route all my pages like
System.Web.Routing.RouteTable.Routes.MapPageRoute("HomePage", "home.html", "~/home.aspx");
System.Web.Routing.RouteTable.Routes.MapPageRoute("ServicePage", "services.html", "~/services.aspx");
I tried using runAllManagedModulesForAllRequests="true" in web.config but its not working. It is giving
404 - File or directory not found. error.