Server Error in '/' Application.

A required anti-forgery token was not supplied or was invalid.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Mvc.HttpAntiForgeryException: A required anti-forgery token was not supplied or was invalid.

Source Error:


Line 70:             ViewData["culture"] = model.cultureName;
Line 71:             base.ExecuteCore();
Line 72:         }
Line 73: 
Line 74:         //Create an attribute to do the same functionality

Source File: D:\Jenkins\workspace\prod_mfb_02\MyFareboxMVC\Controllers\BaseController.cs    Line: 72

Stack Trace:


[HttpAntiForgeryException (0x80004005): A required anti-forgery token was not supplied or was invalid.]
   System.Web.Helpers.AntiForgeryWorker.Validate(HttpContextBase context, String salt) +439
   System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +168
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +2142
   System.Web.Mvc.Controller.ExecuteCore() +113
   MyFareboxMVC.Controllers.BaseController.ExecuteCore() in D:\Jenkins\workspace\prod_mfb_02\MyFareboxMVC\Controllers\BaseController.cs:72
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +68
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
   System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +10
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3375
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +236
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1401


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4667.0