I have the code to register routes for the dynamic data capability. ... protected void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); ... It works fine on my dev box but when I publish to the host it gives 404 error. I seems like my Global.asax file is not getting executed. Any ideas?
Found it! Global.asax was not being called because the PrecompiledApp.config file was in the root directory of the web site. It was a hold over from when it was a web site before I converted it to a web application.