Hi there,
This error occur usually when you don't set the start action.. To set the start action follow this:
In every application there is a Global.asax. Open that file and set the startup controller and action name.
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
In this scenario I want to execute "Index" action of "Home" controller..
All the best