Viewstate error when Deploy on Server

  • Thread starter Thread starter sarvjeet Saini
  • Start date Start date
S

sarvjeet Saini

My application is working fine on our local server.We
tried on two local servers for testing purpose. But when
we host on our main server ,we got the following error:
some it work Fine but not always...

***********************************************************

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()
+149 System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +423


Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


********************************************************
I TRIED ALOT BY CHANGING THE VIEWSTATE PROPERTY BUT IT
GIVE ERROR B/C WE ARE USING VIEWSTATE. ALSO I TRIED TO THE
ADD <MACHINE KEY> IN CONFIG FILES BUT IT ALSO DOESN'T WORK.

SO COULD ANYBODY CAN GIVE ME THE SOLUTION FOR THIS..ITS
REALLY URGENT
 
1. Is there a version difference btw development server
and production server?
2. Does the error happen in specific pages or in all pages?
3. Is the error consistent?

regards,
s.ravi sankar
 
Back
Top