Avoiding "Validation of viewstate MAC failed"
This is usually down to servers hosting multiple websites/shared hosting, or I tend to get it when developing and keep on compiling. To stop this then simply add a machine key to the config so it’s always the same, to do this easily use this generator:
http://aspnetresources.com/tools/machineKey
Simply press the button and copy the machinekey element in your web.config within system.web.


Comments
No comments yet. Be the first!