Viewstate Error

  • Thread starter Thread starter martin
  • Start date Start date
M

martin

I have a problem with .net
it keps giving me the
ViewState is Corrupt or Invalid for this page error
Ihave set the EnableViewstaMAC=false on all pages but I
still get it n occassions.

Does naybody know why and how to stop it or how to trap it
and redirect it.
 
You should not be setting this property to false. It's a security risk and
extremely dangerous. The reason for authenticating at this level is to
explicitly close security loop holes in the asp.net framework. You ought not
to be re-opening them. If you absolutely must do so, you'd need to implement
the viewstate verification in code. Here is a link to trouble shoot your
original problem.
http://support.microsoft.com/default.aspx?scid=kb;en-us;323744
 
Back
Top