Viewstate error

T

Thiago Temple

I have a site that is is a web farm with 2 servers using road robin load
balance...
Sometimes when I submit a form the following error shows up.
Does anyone know what to do?? I'm using the Framework 1.1

Thanks

Thiago

Server Error in '/' Application.
----------------------------------------------------------------------------
----

The viewstate 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 viewstate 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 viewstate is invalid for this page and
might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +150
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423
 
C

Cowboy \(Gregory A. Beamer\)

Are both servers using the same machineKey settings? If not, you need to
manually create the keys to avoid this error. If so, you may need to work on
either your ViewState or ViewStateMac settings.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
T

Thiago Temple

I don´t know about the machine keys... how do I check it??


Cowboy (Gregory A. Beamer) said:
Are both servers using the same machineKey settings? If not, you need to
manually create the keys to avoid this error. If so, you may need to work on
either your ViewState or ViewStateMac settings.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
Thiago Temple said:
I have a site that is is a web farm with 2 servers using road robin load
balance...
Sometimes when I submit a form the following error shows up.
Does anyone know what to do?? I'm using the Framework 1.1

Thanks

Thiago

Server Error in '/' Application.
--------------------------------------------------------------------------
--
----

The viewstate 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 viewstate 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 viewstate is invalid for this page and
might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +150
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423
 

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

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top