I\'m getting the following error when running our ASP.NET Web API project on our production server.
403 - Forbidden: Access is denied. You do not hav
In my case, someone deleted default Asp Net MVC Home/Index route in RouteConfig.
After placing this code back to the RouteConfig.cs in RegisterRoutes method the problem was gone.
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);