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

The state information is invalid for this page and might be corrupted

Hello, I'm at my wit's end regarding the "The state information is
invalid for this page and might be corrupted" error and I'm hoping
someone can provide some assistance. I working with C#/ASP.NET 2.0/
IIS 6/Windows 2003 in a Web Farm environment. I've set up a machineKey
in root web configuration file that I'm sharing across all machines,
however i'm still getting an error stating that the viewstate is
invalid. I'm not sure what else to change to fix this whether this is
a problem with my application or a problem with IIS. It seems quite a
few other people are having this problem as well. Here's a copy of
the page tag in my web.config file also:

<pages enableViewStateMac="false" enableEventValidation="false"
viewStateEncryptionMode="Never" maxPageStateFieldLength="200" />

Thanks in advance for you help. The stack trace from the error is
listed below

Mike

Stack Trace:
[FileNotFoundException: Could not load file or assembly
'App_Web_main.aspx.cdcab7d2.w56adrvm, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The
system cannot find the file specified.]
System.RuntimeTypeHandle._GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark) +72
System.RuntimeType.PrivateGetType(String typeName, Boolean
throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
StackCrawlMark& stackMark) +58
System.Type.GetType(String typeName, Boolean throwOnError) +57

System.Web.UI.ObjectStateFormatter.DeserializeType (SerializerBinaryReader
reader) +192

System.Web.UI.ObjectStateFormatter.DeserializeValu e(SerializerBinaryReader
reader) +943

System.Web.UI.ObjectStateFormatter.DeserializeValu e(SerializerBinaryReader
reader) +384

System.Web.UI.ObjectStateFormatter.DeserializeValu e(SerializerBinaryReader
reader) +198

System.Web.UI.ObjectStateFormatter.DeserializeValu e(SerializerBinaryReader
reader) +210

System.Web.UI.ObjectStateFormatter.DeserializeValu e(SerializerBinaryReader
reader) +198
System.Web.UI.ObjectStateFormatter.Deserialize(Str eam inputStream)
+142

[ArgumentException: The serialized data is invalid.]
System.Web.UI.ObjectStateFormatter.Deserialize(Str eam inputStream)
+206
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString)
+311

System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String
serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter,
String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +140

[ViewStateException: Invalid viewstate.
Client IP: 12.145.159.133
Port: 37034
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
ViewState: /
wEPDwUJNTM1ODk3OTk2DxYEHhVjdXJyZW50U29ydEV4cHJlc3N pb24FEVByb2dyYW1zLlByb2dOYW1lHhBjdXJyZW50U29ydE9yZ GVyCyl5QWdlbmN5UG9ydGFsTWFpbitlbnVTb3J0T3JkZXIsIEF wcF9XZWJfbWFpbi5hc3B4LmNkY2FiN2QyLnc1NmFkcnZtLCBWZ XJzaW9uPTAuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGl jS2V5VG9rZW49bnVsbAAWAmYPZBYCAgEPZBYCAgEPZBYGAgEPD xYCHgRUZXh0BS1XZWxjb21lIEVybWEgICAgICAgICAgICAgICA gICAgICAgICAgIHByb2ZpbGVkZAIDDw8WAh8CBSZGTVRBIEZlc md1c29uIE1vZGVsaW5nICYgVGFsZW50IEFnZW5jeWRkAgUPEA8 WBh4NRGF0YVRleHRGaWVsZAUIcHJvZ05hbWUeDkRhdGFWYWx1Z UZpZWxkBQlwcm9ncmFtSUQeC18hRGF0YUJvdW5kZ2QQFRgQKEN ob29zZSBQcm9ncmFtKSVhdCZ0IE1lcmNoYW5kaXNpbmcgUHJvZ 3JhbSBEZWMgKDA1NTgpJmF0JnQgTWVyY2hhbmRpc2luZyBQcm9 ncmFtIE5vdi4gKDA1NTgpG0FYRSBJbi1TdG9yZSBTdG9ja2VyI CgwNTExKQ9BWEUgVkRheSAoMDU2NCkWQVhFIFZEYXkgQVVESVR TICgwNTY0KRdBWEUgVkRheSBCQUNLVVBTICgwNTY0KRRCYWJ5I EVpbnN0ZWluICgwNTI1KR9Ccml0YSBXYXRlciBGaWx0...]

[HttpException (0x80004005): The state information is invalid for this
page and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Except ion inner, String
persistedState, String errorPageMessage, Boolean macValidationError)
+116
System.Web.UI.HiddenFieldPageStatePersister.Load() +240
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+6953
System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context)
+18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.main_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root
\abcdcf70\e7522bf8\App_Web_main.aspx.cdcab7d2.zbta brey.0.cs:0

System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute()
+154
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously) +64

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210

Jan 31 '07 #1
0 9063

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

Similar topics

3
by: Gvnn | last post by:
Hi, I've a little problem, i've an asp.net page, with a runat server form, like this: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="index.aspx.vb" Inherits="indexGstPro"%> <HTML>...
2
by: .NET Developer | last post by:
On our external customer facing website recently we included a global error catching routine and forward the error message to our support team via email. We notice many emails with the following...
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...
2
by: none | last post by:
Hi, I'm opening a popup window with JavaScript. It has a command button. This is from the primary source (opener) window: ###################################################################...
2
by: DC | last post by:
Hi, we are using ASP.Net 1.1 on eight servers with one session state server (the windows 2003 service). Too often we are getting the exception "Unable to make the session state request to the...
3
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
0
by: mwmorrison93 | last post by:
Hello, I'm at my wit's end regarding the "The state information is invalid for this page and might be corrupted" error and I'm hoping someone can provide some assistance. I working with C#/ASP.NET...
0
by: =?Utf-8?B?bGY=?= | last post by:
Hi, we are in the process of converting an existing web application to VS 2005 and 2.0 framework. We are getting errors that indicate there is a problem with session state: "The session state...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.