+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Trial Version of Sitefinity in Azure

Trial Version of Sitefinity in Azure

3 posts, 0 answered
  1. Andrew
    Andrew avatar
    8 posts
    Registered:
    25 May 2012
    23 Jun 2013
    Link to this post
    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.
  2. Andrew
    Andrew avatar
    8 posts
    Registered:
    25 May 2012
    23 Jun 2013
    Link to this post
    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)? 
  3. Veselin Vasilev
    Veselin Vasilev avatar
    23 posts
    Registered:
    27 Jul 2015
    27 Jun 2013
    Link to this post
    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>...

    Note: you might have 2 <pages> nodes in your config file - make sure you add it to the one that has <controls> as a child item. 

    Then you need to redeploy the project to Azure.

    Can you please provide more information about the distributed session provider and how you set it up? 

    Thanks a lot. 

     

    Regards,
    Veselin Vasilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered