ASP.NET MVC3 and Windows Auth on IIS keeps redirecting to /Account/Login

后端 未结 13 3072
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 03:27

I\'m running MVC3 and a windows auth web application. When I deploy to IIS6 it runs great until I hit a page that requires authentication. It then is auto-redirecting to /

13条回答
  •  無奈伤痛
    2020-11-28 03:47

    Another way to override "login.aspx url redirection problem with MVC + IIS 7"... by adding this to your appSettings (web.config) :

    
    
    
    
    

    ...This resolved the problem for me

提交回复
热议问题