Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Validation of Anti-XSRF token failed.

$
0
0

Can someone explain what this error means? It came in the web project template that I am using from Visual Studio 2012. Do I need to keep it? It's in the Site Master page.

Validation of Anti-XSRF token failed.

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.InvalidOperationException: Validation of Anti-XSRF token failed.

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: 

[InvalidOperationException: Validation of Anti-XSRF token failed.]
   NTier.SiteMaster.master_Page_PreLoad(Object sender, EventArgs e) in c:\webprojects\NTier\NTier\Site.Master.cs:64
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreLoad(EventArgs e) +118
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2099

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>