When you are removing Questions in a survey in SharePoint 2010 in a Farm environment, you might see this error:
“Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.”
This happens when you put down a node where a customer was served content. The customer makes a new request to the server and is redirected to the remaining node. Unfortunately, this node is not able to validate the Viewstate and goes in this exception.
The issue is solved by specifying the same machine Key settings for the application you are hosting on both servers.
If you are using IIS7, you can define it easily in the machine key section of the web application. You can generate and configure the machine key setting for your application directly there. Use the example below as a reference:
On the right side of the above window, you are able to find a “generate key” button. This is helpful when you don’t want to specify for yourself the key
The machine key must be the same on all web frontends for your application!!
Check this here:
http://msdn.microsoft.com/en-us/library/ms998288.aspx
********************** IMPORTANT--PLEASE READ ************************
This electronic message, including its attachments, is COMPANY CONFIDENTIAL
and may contain PROPRIETARY or LEGALLY PRIVILEGED information. If you are
not the intended recipient, you are hereby notified that any use, disclosure,
copying, or distribution of this message or any of the information included
in it is unauthorized and strictly prohibited. If you have received this
message in error, please immediately notify the sender by reply e-mail and
permanently delete this message and its attachments, along with any copies
thereof. Thank you.
************************************************************************
No comments:
Post a Comment