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

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

    I was using nopCommerce 2.65 and had this issue.

    I did not have any of WebMatrix.Data.dll nor WebMatrix.WebData.dll deployed in the bin folder, but adding

    
    
    

    in the web.config solved it.

提交回复
热议问题