deploying AntiforgeryToken Error

前端 未结 5 1854
遇见更好的自我
遇见更好的自我 2020-12-03 13:49

I am working on an ASP.NET MVC application on my local machine using the Visual Studio 2012 built in IISExpress. After a significant progress I decided to make it available

5条回答
  •  醉话见心
    2020-12-03 14:37

    One thing I noticed is that this error could be caused by having multiple @Html.AntiForgeryToken() pieces of code on the page. I had 2 on my page and once I removed the second one, this error went away.

提交回复
热议问题