Solution found. I hope this contribute to others stacked. All of previous articles were useful, helping me understand better IIS engineering.
If the site doesn't have correct Routes it will show an undesirable page code 403.14. Pages can't be shown from directories that don't accomplish necessary permissions. When routes are incorrect it redirects by default to server protected directories.
This article that I listed before is the most complete. I had this errors when I deployed the first project after VS 2010/2012 installation process. So, don't be worried, it happens.
- ASP.NET MVC on IIS 7.5
ASP.NET MVC 3: A default document is not configured
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true"></modules> <!--THIS ONE -->
<!--<modules>
<remove name="UrlRoutingModule-4.0" />
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
--><!-- any other modules you want to run in MVC e.g. FormsAuthentication, Roles etc. --><!--
</modules>-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<!-- <modules runAllManagedModulesForAllRequests="true"></modules> -->
<modules> <!--THIS ONE -->
<remove name="UrlRoutingModule-4.0" />
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
<!-- any other modules you want to run in MVC e.g. FormsAuthentication, Roles etc. -->
</modules>
</system.webServer>
My contribution:
If anyone is an acolyte of the ReSharper Refactoring feature or any other refactoring tool, beware of using it indiscriminately, because it would change things unexpectedly. Don't misinterpret my words, it is a fascinating VS addon and I use it in everyday work. But in my case, it modified the routing parameters within RegisterRoutes (...) of the Global.asax.cs file, and of course site couldn't load appropriately (not even the Home Page).
Here is what happened {id}:
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL ORIGINAL VALUES
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
}
By this hell {referenceId}:
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{referenceId}", // URL MODIFIED VALUES
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
}