473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

View State Error

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

Nov 2 '07 #1
1 968
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
/// ------------------------------


"Ritu" wrote:
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

Nov 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tu-Thach | last post by:
Do you modify the page at all? Sometimes modifying the page causes the error you described. Alternatively, you do not have to use ViewState in your page. Tu-Thach >-----Original...
4
by: Michelle A. | last post by:
We are experiencing the invalid viewstate error on our pages. Considering the sheer number of people complaining of this problem, I hope a patch is on the way... SOON. Here are the details: Both...
2
by: Vinod I | last post by:
Hi Team, When I tryed following code, I am getting the Runtime Error as "The View State is invalid for this page and might be corrupted." Exception Details: System.Web.HttpException: The View...
2
by: Brad | last post by:
I have an intranet app that has just started sporadically getting the following error "The viewstate is invalid for this page and might be corrupted." By sproadic I mean 3-4 times during the past...
3
by: Philip Tripp | last post by:
I've read numerous sources stating that view state can be disabled per control, and per page, but can't seem to keep web form controls from remembering their state on a postback. I'm using VS.Net...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
20
by: raptor | last post by:
hi, I want to make the following thing : select-based updatable VIEW, which have two more virtual-fields. One of them is concatenation of others and the second is calculated on the fly. Can I...
104
by: Beowulf | last post by:
I have the view below and if I use vwRouteReference as the rowsource for a combo box in an MS Access form or run "SELECT * FROM vwRouteReference" in SQL Query Analyzer, the rows don't come through...
1
by: ing42 | last post by:
I have a problem with inserting records into table when an indexed view is based on it. Table has text field (without it there is no problem, but I need it). Here is a sample code: USE test GO...
2
by: Chris | last post by:
I am trying to create a view that creates a mailing list from two different tables. The t-sql code executes successfully but when I try to open the view I get this error message Error converting...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.