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

后端 未结 13 2780
没有蜡笔的小新
没有蜡笔的小新 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:30

    Not sure if you still have the issue or not, but try adding

    
    

    to your web.config under appSettings. According to here and here, that should solve your problem.

提交回复
热议问题