Web Client getting exception and diplays CSRF attacking detected!
说明
Dot net 4.8 is installed. Error received: Change Auditor Error loading properties: Server Error in '/' Application. ________________________________________ CSRF attacking detected! 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: CSRF attacking detected! 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): CSRF attacking detected!] Quest.Security.AjaxValidateAntiForgeryTokenAttribute.OnAuthorization(AuthorizationContext filterContext) +256 System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +168 System.Web.Mvc.Async.b__0(AsyncCallback asyncCallback, Object asyncState) +1082 System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +163 System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +463 System.Web.Mvc.b__152 Contact Me By: Email
原因
Invalid ssl certificate
解决办法
Replace the invalid ssl certificate with a valid certificate resolves the issue.