404 Page not found RRS feed

  • Question

  • User-1785365986 posted

    I'm using ASP.NET MVC 1 with IIS 6.

    The problem I have is 404 page not found.

    The "Default" rounting can be displayed, but if I try any other url, say /mysite/Home/Login,

    I got 404 error.

    I then changed the routing configuration in Global.asax as following,


                    "Default",                                              // Route name
                    "{controller}/{action}/{id}",                           // URL with parameters
                    new { controller = "Home", action = "Login", id = "" }  // Parameter defaults

    The login view can be found, but typeing  url /mysite/ had 404 error again.

    Any idea? Thanks.




    Sunday, May 30, 2010 12:35 PM


All replies