Live Chat Icon For mobile
Live Chat Icon

Why do I get ViewState error when upgrading my application from a single web server to a web farm?

Platform: ASP.NET| Category: Miscellaneous

This usually happens when encryption is enabled for ViewState in all your pages but the different server machines use different Validation Keys for encrypting. Ensure that all the machines has the same validation key specified in their machine.config file. For example, add the following key:


<machinekey validation=’3DES’>

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.