title: Disabling view state and event validation through Web.config Not Working
body: <p>I have to disable view state and event validation through Web.config on IIS 7 hosted website but isn't working.Same is working fine in debug mode or if i disable at page level then also working on hosted site.</p>
  
  <p>Settings in web.config:</p>
  
  <pre><code>&lt; pages buffer="true" validateRequest="true" enableViewState="false" enableEventValidation="false"&gt;
  &lt;/pages&gt;
  </code></pre>