0

In my asp.net MVC application, the Home controller works without any problems. But remaining controller class or action method couldn't call instead of i got the HTTP status 404 error - File not found. MY web-server - IIS 5.1

Note: I added wild character in the configuration (.*) the following code snippet contains Global.asx file

routes.MapRoute("Default", // Route name
    "{controller}/{action}/{id}", // URL with parameters
    new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
tereško
  • 58,060
  • 25
  • 98
  • 150
Ramesh S
  • 143
  • 2
  • 8

0 Answers0