Competition: What’s your favorite Redgate tool? Enter now.

Corrupted ViewState...

Brian DonahueBrian Donahue Posts: 6,590 New member
edited January 6, 2003 12:17PM in ANTS Load
Hi Max,

Can you please send a copy of your project file to [email protected]
so we can have a better idea of why this happens?

Thanks,

Brian Donahue
Technical Support Engineer
Red Gate Software Ltd.
T: 44 870 1600 037
E: mailto:[email protected]

"Max Chernyshov" <[email protected]> wrote in message
news:[email protected]
Hello,

I am evaluating the AntsLoad and I am getting invalid ViewState exception
on all pages.

I have
Microsoft .NET Framework Version:1.0.3705.288;
ASP.NET Version:1.0.3705.288

Was it successfully tested on this version?

I checked the script and it does set the Viewstate variable:
WebClient.HttpRequest.AddPostData("__VIEWSTATE", WebClient.ViewState, False)
But it looks like the WebClient.ViewState either empty or null...

The Exception is:

Server Error in '/WebApp' Application.


The View State is invalid for this page and might be corrupted.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The View State is invalid for
this page and might be corrupted.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The View State is invalid for this page and
might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +149
System.Web.UI.Page.LoadPageViewState() +16
System.Web.UI.Page.ProcessRequestMain() +421




Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288
This discussion has been closed.