Sei in: Home : Competenze : Applicazioni Web : Web Server e Web Application Server e linguaggi per il Web : ASP.NET

Errore: Validation of viewstate MAC failed

Per risolvere l'errore "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." in un applicazione web .NET su cluster:

aggiungere nella web.config nella sezione system.web il codice generato alla pagina : http://www.orcsweb.com/articles/aspnetmachinekey.aspx