5 Replies Latest reply on Oct 7, 2019 5:41 PM by Sergio Villa

    Error 500 on logon

    Sergio Villa
      Share This:

      Whenever we have someone login to track-it with their windows credentials they get an error 500 in IE and Edge. But when its removed it works just fine. below is the error we are getting after I had modified the web file.

       

      Server Error in '/TrackIt' 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:

          

      An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

       

        Stack Trace:

          

      [HttpAntiForgeryException (0x80004005): A required anti-forgery token was not supplied or was invalid.] System.Web.Helpers.AntiForgeryWorker.Validate(HttpContextBase context, String salt) +447 System.Web.Helpers.AntiForgery.Validate(HttpContextBase httpContext, String salt) +44 System.Web.Helpers.AntiForgery.Validate() +83 TrackIt.Application.Web.Base.Mvc.ValidateAntiForgeryToken.OnAuthorization(AuthorizationContext filterContext) +108 System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +97 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +310 TrackIt.Application.Web.Framework.MVC.TrackItControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +30 System.Web.Mvc.Controller.ExecuteCore() +103 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +87 System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10 TrackIt.Application.Web.Base.Mvc.AspCompatActionsHttpAsyncHandler.OnInit(EventArgs e) +292 System.Web.UI.Control.InitRecursive(Control namingContainer) +139 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408 

          


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