Constantly I got this: I tried also removed templ folder, I add in web.config machinekey and always is the same error.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.
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.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot
be used in a cluster.
See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.
Source Error:
[No relevant source lines]
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\d2599cec\bd9e78cf\App_Web_login.aspx.cdcab7d2.ys0bsmw8.0.cs Line:
0
Following the instruction in the error fixes this issue. Double check that added the machine key node to the web.config and turned off auto key generation.
Member
65 Points
194 Posts
Validation of viewstate MAC failed.
Feb 03, 2018 12:37 PM|progy85|LINK
Hi,
Constantly I got this: I tried also removed templ folder, I add in web.config machinekey and always is the same error.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.
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.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
See http://go.microsoft.com/fwlink/?LinkID=314055 for more information.
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\d2599cec\bd9e78cf\App_Web_login.aspx.cdcab7d2.ys0bsmw8.0.cs Line: 0
Stack Trace:
All-Star
52241 Points
23306 Posts
Re: Validation of viewstate MAC failed.
Feb 03, 2018 01:06 PM|mgebhard|LINK