Hey everyone. I am getting 404 errors when I try to access my ASP.NET MVC 2 site. I'm hosting this site using II7, and I have my site set to use the DefaultAppPool
Intergrated pipeline mode. Here's my routes, it's a pretty basic site:
routes.MapRoute(
"DefaultRoute", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional // Parameter defaults
});
routes.MapRoute(
"UploadRoute", // Route name
"Upload/{id}", // URL with parameters
new { controller = "Upload", action = "Index", id = UrlParameter.Optional
});
Attemping to go to ~/Home or ~/Upload both result in 404 errors. Browsing to just the root ~/ directory remotely causes the page to just sit and wait forever, if I try to access the root locally I get a 403.14 error. I'm stumped, I thought ASP.NET MVC and IIS7 running integration mode was supposed to be simple. Thanks.