Trial Version of Sitefinity in Azure
I have redeployed Sitefinity under 2 instances of Azure and found two problems. The first problem is that I keep seeing a yellow screen of death regarding validation of viewstate. The message is:
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. I have attached the exception.
The second problem is that I keep getting logged out in the back office every once in a while just by loading or going through another page. There is no reason for this to happen on the side of our project configuration since it is set up to use a distributed session provider specifically for azure.
Keep note that none of the problems exist if I configure the cloud service to use only 1 instance but of course that would not be ideal. Does the trial version of Sitefinity support load balancing scenario (in Azure)?
Hello Andrew,
Can you please try disabling the viewstate MAC validation for pages and see if you still reproduce the issue?
To this please open the web.config and locate the
<Pages>
<Controls>
element.
Add the following attribute to it:
<
pages
enableViewStateMac
=
"false"
>
<
controls
>...
Regards,