473,382 Members | 1,651 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,382 software developers and data experts.

ViewState Corrupted in Web Farm

Hi,

I get a Viewstate corrupted error on the Web servers(Win2K3, IIS 6.0,
Application Center 2K SP1, ASP.NET) configured for NLB with no afinity/sticky
sessions.

****Note: The servers are already configured with single/common machine key
and App Center 2000 SP2 will be installed this week.****

Complete Error Description:
--------------------------------

1) Exception Information
*********************************************
Exception Type: System.Web.HttpUnhandledException
ErrorCode: -2147467259
Message: Exception of type System.Web.HttpUnhandledException was thrown.
TargetSite: Boolean HandleError(System.Exception)
HelpLink: NULL

Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

2) Exception Information
*********************************************
Exception Type: System.Web.HttpException
ErrorCode: -2147467259
Message: The viewstate is invalid for this page and might be corrupted.
TargetSite: System.Object LoadPageStateFromPersistenceMedium()
HelpLink: NULL
Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain().

Thanks in advance for suggestions and pointers.
Magdelin
Nov 19 '05 #1
2 3526
When are you getting this error. Are you doing any Server.Transfer?
--
Kumar Reddi
http://kumarreddi.blogspot.com

"Magdelin" <ma**********@newsgroups.nospam> wrote in message
news:E6**********************************@microsof t.com...
Hi,

I get a Viewstate corrupted error on the Web servers(Win2K3, IIS 6.0,
Application Center 2K SP1, ASP.NET) configured for NLB with no afinity/sticky sessions.

****Note: The servers are already configured with single/common machine key and App Center 2000 SP2 will be installed this week.****

Complete Error Description:
--------------------------------

1) Exception Information
*********************************************
Exception Type: System.Web.HttpUnhandledException
ErrorCode: -2147467259
Message: Exception of type System.Web.HttpUnhandledException was thrown.
TargetSite: Boolean HandleError(System.Exception)
HelpLink: NULL

Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionSte
p.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

2) Exception Information
*********************************************
Exception Type: System.Web.HttpException
ErrorCode: -2147467259
Message: The viewstate is invalid for this page and might be corrupted.
TargetSite: System.Object LoadPageStateFromPersistenceMedium()
HelpLink: NULL
Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain().

Thanks in advance for suggestions and pointers.
Magdelin

Nov 19 '05 #2
Hi Kumar,

I am not sure. It could have been a server.transfer or a postback.
Application very rarely uses response.redirect. Error occurs when the user
works with the website deployed on production servers, configured for NLB. I
am not allowed to debug the application from the production server. So, I am
not sure when and why this error occurs.

I would also like to add that, this error occurs just 2 or 3 times a day and
to my knowledge I have not used HttpServerUtility.Transfer with "preserve
querystring and form collections" option.

I am familiar with the following KB articles:

http://support.microsoft.com/default...en-us;316920(I have not
tried enableViewStateMac=false yet.)

http://support.microsoft.com/default...b;en-us;812399 ( I am not
sure if this fix applies to me as I am not using long decimals)

http://support.microsoft.com/default...b;en-us;829743 (I have not
tried enableViewStateMac=false yet.)

Thanks.
Magdelin
"Kumar Reddi" wrote:
When are you getting this error. Are you doing any Server.Transfer?
--
Kumar Reddi
http://kumarreddi.blogspot.com

"Magdelin" <ma**********@newsgroups.nospam> wrote in message
news:E6**********************************@microsof t.com...
Hi,

I get a Viewstate corrupted error on the Web servers(Win2K3, IIS 6.0,
Application Center 2K SP1, ASP.NET) configured for NLB with no

afinity/sticky
sessions.

****Note: The servers are already configured with single/common machine

key
and App Center 2000 SP2 will be installed this week.****

Complete Error Description:
--------------------------------

1) Exception Information
*********************************************
Exception Type: System.Web.HttpUnhandledException
ErrorCode: -2147467259
Message: Exception of type System.Web.HttpUnhandledException was thrown.
TargetSite: Boolean HandleError(System.Exception)
HelpLink: NULL

Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at

System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionSte
p.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)

2) Exception Information
*********************************************
Exception Type: System.Web.HttpException
ErrorCode: -2147467259
Message: The viewstate is invalid for this page and might be corrupted.
TargetSite: System.Object LoadPageStateFromPersistenceMedium()
HelpLink: NULL
Source: System.Web

StackTrace Information
*********************************************
at System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain().

Thanks in advance for suggestions and pointers.
Magdelin


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
2
by: Thiago Temple | last post by:
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...
2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
1
by: S S Venkatesh | last post by:
Hi, I'm involved in a ASP.NET web project with a web farm and load balancing(windows server 2003 ) with no afinity (no sticky sessions) and i am facing problems in view state. I get an error...
1
by: Kikoz | last post by:
Hi all. I override Page's SavePageStateToPersistenceMedium(...) and LoadPageStateFromPersistenceMedium() methods to keep page's ViewState on the server. Very well documented approach, nothing...
5
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
1
by: Jerry | last post by:
Hi, I've been getting dozens of the same exceptions every week from our web server (running asp.net v1.1). I looked at the viewstate in the exception, all of them shared the same problem: having...
0
by: tynorton | last post by:
Hey, I've been working on this issue for a while now, with no leads or success. The scenario is a homemade modal dialog using UpdatePanels. There a couple ImageButtons inside of usercontrols...
3
by: Velvet | last post by:
My site is randomly firing off a "ExceptionHttpException : Unable to validate data. " error on some of its forms. ------- HttpException : Unable to validate data....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.