Validation of viewstate MAC failed.
I've been encountering the following 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."
While my aspx. page has the following characteristics:
- is the content of a master page.
- has 3 textboxes whose values are validated in RequiredFieldValidator, RegularExpressionValidator and CustomValidator and 1 button (asp controls).
Error's still on even I also fixed it by adding into <%@ page %> the following properties:
1. The first solution
2. The second solution
Please help me overcome that bug. Thanks anyway.