title: ViewState error points in site.master
body: <p>I just added asp.net calendar control in new page under sample folder in asp.net mvc beta application. when i execute the particaular page that i need and it shows the error following </p>
  
  <p>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.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
  
  <p>that points to here . It's in site.master of asp.net mvc </p>
  
  <pre><code>&lt;div id="logindisplay"&gt;
      &lt;% Html.RenderPartial("LoginUserControl"); %&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>usually to avoid this error, we give </p>
  
  <pre><code>&lt;pages  validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" &gt;
  </code></pre>
  
  <p>but, it doesn't work for me.</p>