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

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

    I fixed it this way
    1) Go ot IIS
    2) Select your Project
    3) Click on "Authentication"
    4) Click on "Anonymous Authentication" > Edit > select "Application pool identity" instead of "Specific User".
    5) Done.

    0 讨论(0)
提交回复
热议问题