title: "Validation of viewstate MAC failed. If this application is hosted by a Web Far..."
body: <p>i am facing the dreaded:</p>
  
  <p><strong>Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that  configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.</strong> </p>
  
  <p>Error.</p>
  
  <p>Ok so i looking it up and found that it can be caused by two things, viewState which can not be verified by the page, and/or events that can not be validated.</p>
  
  <p>I put </p>
  
  <pre><code>&lt;pages enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never"&gt;
  </code></pre>
  
  <p>In my web.config to stop the problem, but that hardly seems like a fix to me.</p>
  
  <p>The thing is, i never even used viewState in my application. I know that asp.net uses viewstate by default to store some things, but i doubt the default values stored here will cause any errors.</p>
  
  <p>I noticed that the problem seems to happen when i postBack and the page has not finished loading yet.</p>
  
  <p>Thanks</p>
  
  <p>Edit: Please, can someone test my website www.vittoriosaStarsNursery.com and see if you get the error i got above? I dont get it locally but people keep telling me they are getting it.</p>