You have [ValidateAntiForgeryToken]
attribute before your action. You also should add @Html.AntiForgeryToken()
in your form.
Related Posts:
- How to remove error about glyphicons-halflings-regular.woff2 not found
- How to add reference to System.Web.Optimization for MVC-3-converted-to-4 app
- Could not load file or assembly Exception from HRESULT: 0x80131040
- The localhost page isn’t working. localhost redirected you too many times
- HTTP Error 503, the service is unavailable
- JSON parsing error syntax error unexpected end of input
- How to resolve “Server Error in ‘/’ Application” error?
- Chrome returns “Bad Request – Request Too Long” when navigating to local IIS Express
- What does ‘IISReset’ do?
- What does ‘IISReset’ do?
- “Exception has been thrown by the target of an invocation” error (mscorlib)
- ORA-12154 could not resolve the connect identifier specified
- What are .ashx files in an ASP.NET application?
- Does PHP supports MVP pattern?
- how to call jquery selector from outside kendo window?
- Net 2.0 Framework Service Pack 2 Issue
- Server.Transfer Vs. Response.Redirect
- W3WP.EXE using 100% CPU – where to start?
- HTTP Error 403.14 – Forbidden – The Web server is configured to not list the contents of this directory
- Error :The remote server returned an error: (401) Unauthorized
- Exception of type ‘System.OutOfMemoryException’ was thrown.
- Cannot read configuration file due to insufficient permissions
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- A potentially dangerous Request.Form value was detected from the client
- Could not load file or assembly ‘Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’
- What is ViewModel in MVC?
- How to Determine IUSR Password
- ASP.NET Why are sessions timing out, sessionstate timeout set
- What does aspnet_regiis.exe do
- javascript “window.history.forward(1);” not working
- drop down list value in asp.net
- Cannot read configuration file due to insufficient permissions
- What is the difference between a web API and a web service?
- Can you recommend a .net template engine?
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- How do I resolve “HTTP Error 500.19 – Internal Server Error” on IIS7.0
- How to use html.ValidationMessageFor
- Asp.net Hyperlink control equivalent to
- Error ‘2035’ (‘MQRC_NOT_AUTHORIZED’) While Connecting to MQ
- EF 5 Enable-Migrations : No context type was found in the assembly
- debug=true in web.config = BAD thing?
- Url.Action parameters?
- What is the difference between ASP.NET and ASP.NET MVC?
- Failed to load resource: the server responded with a status of 401 (Unauthorized) /App/AngularJS/angular.min.js
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- ASP.NET DateTime Picker
- Styles.Render in MVC4
- Could not load file or assembly ‘Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- a page can have only one server-side form tag
- There is no ViewData item of type ‘IEnumerable
‘ that has the key country - “This operation requires IIS integrated pipeline mode.”
- Convert CSV data into JSON format using Javascript
- Could not load file or assembly ‘Microsoft.ReportViewer.WebForms’
- Maximum request length exceeded.
- Cannot attach the file *.mdf as database
- What is the @Html.DisplayFor syntax for?
- Response Content type as CSV
- Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive
- The ‘Access-Control-Allow-Origin’ header contains multiple values
- IIS error, Unable to start debugging on the webserver
- How to move div vertically down using CSS
- How to troubleshoot “System.Web.HttpException (0x80004005): File does not exist”?
- jquery $(this).id return Undefined
- How handle Application Error Exception code: 0xc00000fd
- C# function to return array
- “The transaction log for database is full due to ‘LOG_BACKUP'” in a shared host
- jQuery UI ” $(“#datepicker”).datepicker is not a function”