473,387 Members | 1,757 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,387 software developers and data experts.

"viewstate is invalid for this page and might be corrupted" - why does worker process recycling cause this?

Hi There,

I have posted something previously regarding this issue, but I think I have
some more concise questions to ask, and would like to get further feedback
on this issue.

Firstly the background. I have a small ASP.NET application under
development. I'm using VS 2002 with Framework 1.1. One of the pages is a
"resources" page that contains a list-box of various RSS feeds I am
interested in surveying. As you select the different RSS feed topic, the
articles are shown on the page below. If one interests me I'll go off and
read that article, but eventually return to my page. When I choose another
value from the drop-down, I do an auto-postback, and refresh the list of
articles below.

All works well unless the page is left idle for a period of time. If I then
return and select another value from the drop-down list, I'll often receive
an error "The Viewstate is invalid for this page and might be corrupted." My
application runs with <sessionState>Off</sessionState>.

My site runs on a web hosting company, and they have informed me that the
problem exists only under Windows 2003, with "worker process recycling" in
effect, and with a site with "minimal traffic", i.e. one where the worker
process is recycled between page postbacks. My questions are:

1. Why should "worker process recycling" cause the viewstate value posted
back from my form to be considered invalid or corrupt?
2. Is this a known issue with Windows 2003?
3. Would providing an overloaded version of the
LoadPageStateFromPersistenceMedium method be a good approach to solve the
problem?

Any feed back on these questions or relevant related topics would be very,
very much appreciated.

Regards,
Trevor Andrew

Nov 17 '05 #1
0 2319

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

Similar topics

2
by: Stephen Ferg | last post by:
There are a couple of broken links on the Python Eggs site: http://www.python-eggs.org/links.html I'd like to reach the maintainer and report them, but there's no information about the...
0
by: Jon | last post by:
"the viewstate is invalid for this page and might be corrupted" this error comes up when a user leaves an .aspx page on the browser for a while then comes back to use it. what causes it and how...
1
by: verb13 | last post by:
In an asp page in localhost I have this: Set x = Server.CreateObject("Scripting.Dictionary") And I get this error: Invalid class string If I omit Server like this: Set x =...
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...
1
by: Steph | last post by:
I am trying to save a simple integer value in ViewState. I set the value in the Page_Load() event and retrieve it in the function Page_Unload() event. The value seems to be set correctly, but...
6
by: Thomas H | last post by:
Hi everyone, I've got a question that's more of a "style" question... Do you guys reference "this" for every object that's inherited from System.Web.UI.Page? For example, when you use the...
4
by: Amil | last post by:
I've upgraded to VS 2005. I have a page that contains no submit buttons...it merely shows some data. But, several times a day (out of thousands of hits), I get this error: ...
3
by: Martin | last post by:
Hi, I have an aspx page with two dropdownlist controls. I update the options in the second ddl based on selection made in the first. I do this with the ICallbackEventHandler interface, as per...
4
by: sid | last post by:
Can someone tell me how to detect "Action Cancelled" page with out polling. I have a frame set and I want to make sure the other frame is displaying what it is supposed to without polling. For...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.