Click here to Skip to main content
14,029,288 members
Rate this:
Please Sign up or sign in to vote.
See more:

i am getting the below error message in my website:

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....

I had inserted the below code in web config file

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" />

but still getting the same error.

Please provide the way to get rid out of it.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190419.4 | Last Updated 26 Feb 2010
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100