469,134 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,134 developers. It's quick & easy.

Viewstate error when Deploy on Server


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.LoadPageStateFromPersistenceMed ium()
+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
Nov 17 '05 #1
2 1615
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
-----Original Message-----

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 whereit originated in the code.

Exception Details: System.Web.HttpException: The viewstateis 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.LoadPageStateFromPersistenceMe dium()
+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 THEADD <MACHINE KEY> IN CONFIG FILES BUT IT ALSO DOESN'T WORK.
SO COULD ANYBODY CAN GIVE ME THE SOLUTION FOR THIS..ITS
REALLY URGENT
.

Nov 17 '05 #2
Check out this faq, this might be useful to you
http://www.extremeexperts.com/Net/FA...isCorrupt.aspx

--
Saravana
Microsoft India Community Star,MC**
www.extremeexperts.com

"sarvjeet Saini" <sa************@hotmail.com> wrote in message
news:07****************************@phx.gbl...

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.LoadPageStateFromPersistenceMed ium()
+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

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ralph Soons | last post: by
1 post views Thread by Mind Dragon | last post: by
11 posts views Thread by Nad | last post: by
10 posts views Thread by Robert | last post: by
6 posts views Thread by scottrm | last post: by
1 post views Thread by =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.