Request redirect to /Account/Login?ReturnUrl=/ since MVC 3 install on server

前端 未结 14 1995
攒了一身酷
攒了一身酷 2020-12-04 08:51

We have an internal ASP.NET Webforms application running on a Windows 2008/IIS7 server which has been running fine until we installed MVC3.

Now any requests redirect

14条回答
  •  清歌不尽
    2020-12-04 09:18

    My solution was to add the tag

    [AllowAnonymous]

    over my GET request for the Register page. It was originally missing from the code I was mantaining!

提交回复
热议问题