View Complete Thread
  • Re: Did you mean: IIS does not return to the default page of my document

    Aug 06, 2016 03:47 PM|tobus|LINK

    Hello ,
    Poir thank you for your answer.
    I configured it for the default route in the RouteConfig file here is the code

     public class RouteConfig
        {
            public static void RegisterRoutes ( RouteCollection routes )
            {
                routes.IgnoreRoute ( "{resource}.axd/{*pathInfo}" );
    
                routes.MapRoute (
                    name: "Default",
                    url: "{controller}/{action}/{id}",
                    defaults: new { controller = "Login", action = "Login", id = UrlParameter.Optional }
                );
            }
        }

    and the file is called in the Global.axa.


    And the controller contains the action Login Login.

    So I still do not understand what is going on my app works well on the IIS server to a friend.