Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EnableViewStateMac and View State
Message
De
18/02/2005 08:22:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
EnableViewStateMac and View State
Divers
Thread ID:
00988267
Message ID:
00988267
Vues:
114
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
Répondre
Fil
Voir

Click here to load this message in the networking platform