View State Error

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
 
G

Guest

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
/// ------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top