Invalid Viewstate

J

jmatviak

I have a web application that is in a "web farm" but has the load balancer
configured to stay with the ip address it was initially assigned to. However,
we added machineKey information in our web config file to assure that even if
we did jump servers (which has happened), we would not get this error of
Invalid Viewstate. Is there something else to take into consideration. I have
added the following line to our config files.

<pages validateRequest="false" enableEventValidation="false"
viewStateEncryptionMode ="Never" maxPageStateFieldLength="8192">

<machineKey validationKey="<any key>"

decryptionKey="<any decrypt key>" validation="SHA1" />
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top