Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EnableViewStateMac and View State
Message
From
18/02/2005 08:22:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
EnableViewStateMac and View State
Miscellaneous
Thread ID:
00988267
Message ID:
00988267
Views:
116
We have 2 web servers that are running on a Network Load balancer. I was getting this error message from one of my asp.net webforms:

The View State Is Invalid for This Page and Might Be Corrupted

This was caused when web1 would server up a page, then when a button on the page was pressed, if the web2 server processed the request, I would get the View State is corrupted error. If web1 processed the request, everything would work correctly. Basically, if the same server always processed your postback, everything work.

After searching the MS KBs, I found that if I set enableViewStateMac="false" in the machine.config of both web servers, this would solve the problem.

My question is, what is the upside or downside of setting enableViewStateMac="false"? Or has anyone come across this on their web farm?

Thanks,

Jerry
Reply
Map
View

Click here to load this message in the networking platform