473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 1756
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
hi to all does any body know or receive this message before and how i can repare this: The viewstate is invalid for this page and might be corrupted. thank's Mike
1
by: Ralph Soons | last post by:
Hi all, I am trying to save the viewstate in a session instead of storing it in a hidden of the webpage which is default. This because of performance reasons. When I use line 2 in combination...
1
by: Mind Dragon | last post by:
I have an ASP application that works fine locally but when it's uploaded occasionally, I get viewstate errors. Another thing is that the viewstate for that page is disabled. There are cases where I...
11
by: Nad | last post by:
Hello, I have a page with two link buttons. When I click on the first one I call server.execute("target.aspx") to view target.aspx on the original page. Then I click on the second link button...
9
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating...
10
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web...
7
by: GS | last post by:
Hello, I'm receiving The state information is invalid for this page and might be corrupted error message when running code below. This happens on second post back. Why is it happening? My...
6
by: scottrm | last post by:
Hi Users seem to be getting the following intermitent error whe they post a form. Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that...
1
by: =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= | last post by:
Hi Experts, With Session Affinity and Web Server Farm on ISA Server 2006 accessing 2 backend IIS servers, I’m getting error “Validation of ViewState MAC failed. If this application is hosted...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.