General information
Title:
EnableViewStateMac and View State
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only