I have created an ASP.NET MVC 2 web application that runs beautifull, not a massively complex application, only 2 controllers (Home and Treatment). I have an XML data store that holds page data to be displayed for each of a set of treatments.All pages display exactly as I want them to.I have now added a new controller method for the Treatment controller with the associated XML data and it displays fine in my development environment (displays exactly as I would expect).When I deploy the new XML data and the new TreatmentController.cs file to the new site the link becomes available, but when navigated to I get a 404 page not found exception. All existing links work absolutely fine as they should.The code below shows a working controller method and the controller method that gives the 404 exception, which is pretty much identical, apart from the method and parameter names.public ActionResult Gift_Vouchers(){ GetMasterData(ViewData); GetTreatmentData("Gift_Vouchers"); return View("Treatment");}//The above method workspublic ActionResult First_Aid_Training(){ GetMasterData(ViewData);
GetTreatmentData("First_Aid_Training");
return View("Treatment");}//The above works in dev environment, fails in liveI would assume that this is something
View Complete Post