View State Error

  • Thread starter Thread starter Ritu
  • Start date Start date
R

Ritu

Hi,

I get a viewstate error on my machine when trying to load a page with
grids. The error is

The viewstate is invalid for this page and might be corrupted.

The bizzare part is that the error occurs only one my machine. There
are other developers working on the same piece of code and same
database (and records) and it works on all other machines. I deleted
the VSWebCache, Deleted Online Files, Reloaded the project after
physically deleting the folder and getting latest from VSS, deleted
cookies, dropped and recreated the website.. everything. Yet, the
problem persists and happen only at a particular instance and only on
my machine.

I am at my wit's end. Would look forward to somes cues to solve this
problem.

Thanks
Ritu
 
Mmmm...

- Are you using AJAX ASP .net (in that case try to setup in the header of
the page the propery EnableEventValidation ="false").

- Are you creating controls dinamically (or the grid does)? In that case,
disable the viewstate for the controls that are being created dinamically.

- I guess viewstate is enabled in your site and your page, isn't it?

Good luck

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------
 
Back
Top