I have an mvc application running on IIS 7.0 on windows vista.The appication is redirecting to the proper controller and action.But i am getting an error saying view is not found in the path, when the view is present at the particular path.
Route is as shown below.
routes.MapRoute( "Default", // Route name
"home/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter constraints );
I am getting the error as The view 'Index' could not be located at 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/