Try our conversational search powered by Generative AI!

ERROR EPiServer.Framework.Web.AspNetAntiForgery: Cross-site request forgery detected [Client IP: ::1,

Vote:
 

I have one EPiServer 7 site to fix. In the admin mode I get this error:

Somebody have a ideia?

2014-04-03 14:26:27,423 [22] ERROR EPiServer.Framework.Web.AspNetAntiForgery: Cross-site request forgery detected [Client IP: ::1, Referer: http://localhost:8008/manage/CMS/Admin/EditUser.aspx?membershipUsername=anderson&epUrl=AdminGroup.aspx, Url: http://localhost:8008/manage/CMS/Admin/EditUser.aspx?membershipUsername=anderson&epUrl=AdminGroup.aspx, User: AFETTER\Anderson]
2014-04-03 14:26:27,831 [22] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: This request has probably been tampered with. Close the browser and try again.
at EPiServer.Framework.Web.AspNetAntiForgery.ThrowForgeryException()
at EPiServer.Framework.Web.AspNetAntiForgery.ValidateToken(String token)
at EPiServer.Framework.Web.AspNetAntiForgery.ValidateField()
at EPiServer.Web.PageExtensions.AntiForgeryValidation.PreInit(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreInit(EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.manage_cms_admin_edituser_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f0ec2edd\f1c7b22\App_Web_jqzcdbsy.1.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

#84534
Apr 03, 2014 5:34
Vote:
 

Did you find out what was causing this?

#88795
Jul 30, 2014 17:26
Vote:
 

I have the same error. 

One of my users called me. She couldn't login. The user was active and I could login with her username and password. 

I've asked her to use another computer and it worked on that machine. :|

Any idea why is this happening?

#178667
May 17, 2017 9:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.