Viewstate error

  • Thread starter Thread starter Thiago Temple
  • Start date Start date
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
 
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!
**********************************************************************
 
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
 
Back
Top