asp.net mvc - Deploy MVC5 on IIS 7.5 windows 2008 R2 SP1 routing not work -


i've deployed mvc5 web application , runs on iis 7.5 routing beautiful url returns 404. in solution have 2 areas work main routing doesn't work well.

the first routing works second routing returns 404

first route:

routes.maproute(                 "default",                 "",                 new { controller = "login", action = "login" },                 new[] { "mysolution.controllers" }             ); 

second route:

            routes.maproute(                 "logout",                 "logout",                 new { controller = "login", action = "logout" },                 new[] { "mysolution.controllers" }             ); 

i tried install local computer (mvc 5, iis 7.5 , windows 7 pro) route works well.

i've searched articles suggested update hotfix windows 2008 r2 here. when downloaded , installed update windows told me not allow apply hotfix.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -