I have an mvc application running on IIS 7.0 on windows vista. The application is redirected to the correct controller and action. But I get an error message that does not appear in the path when the view is present in the specific path.
The route is shown below.
routes.MapRoute ("By default", // Route name
"home / {action} / {id}", // URL with parameters
new {controller = "Home", action = "Index", id = ""} // Parameter restrictions);
I get an error because the "Pointer" cannot be located on these paths: ~ / Views / Home / Index.aspx, ~ / Views / Home / Index.ascx, ~ / Views / Shared / Index. aspx, ~ / Views / Shared / Index.ascx when I run the mvc application http: // localhost / mvcsf / Home /
source share