I am trying to deploy an ASP.NET MVC application in a subdirectory of an existing application, and I am encountering some routing problems. I created a folder structure so that all the binaries and configuration files for the MVC application are correctly located in the root directory and the rest of the content is in a subdirectory. In addition, I updated all the routes in the MVC application to reflect the subdirectory; however, each application request creates:
Incoming request does not match any route.
All defined routes are ignored, including the default route:
routes.MapRouteLowercase(
"Main_Default",
"blog/{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = "" }
);
I tried turning on RouteDebug to check the problem, but even this is not being directed. Any tips on what else I can try?
: .