MVC Forms LoginUrl is incorrect

前端 未结 8 883
旧时难觅i
旧时难觅i 2020-11-30 07:07

I have an ASP.NET MVC 3 application with forms authentication. For some reason that I cannot see, the login redirect url is /Account/Login?ReturnUrl=%2fSecure%2fAction

8条回答
  •  -上瘾入骨i
    2020-11-30 07:46

    To fix this problem, which still exist in MVC 3 you have to remove the WebMatrix.*.dll from _bin_deployableAssemblies and bin folders respectively.

提交回复
热议问题