Installation and deployment
Version 3.x > Installation and deployment > Web Farm Error View modes: 
User avatar
Member
Member
Andy - 11/18/2008 5:15:42 AM
   
Web Farm Error
Hi All

I am trying to install the free edition but when i get to the key validate section on the installer i get 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.
##################################

The host i am with is www.serverintellect.com and i am unsure what steps to do or what i should be editing?

Any help on this would help.

Thanks
Andy

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 11/18/2008 8:48:43 AM
   
RE:Web Farm Error
Hi Andy,

You should put machineKey setting in your web.config. Here is an example:

<machineKey
validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1"
/>

But you will need to insert your own keys instead of 'AutoGenerate' setting. Or you can disable viewstate MAC validation by setting enableViewStateMac property of <page> element to false. You can find more information at:

http://msdn2.microsoft.com/en-us/library/950xf363.aspx

http://msdn2.microsoft.com/en-us/library/w8h3skw9.aspx

http://aspadvice.com/blogs/joteke/archive/2006/02/02/15011.aspx

Best regards,
Ondrej Vasil

User avatar
Member
Member
a_makowsky-yahoo.co - 11/19/2008 4:13:52 AM
   
RE:Web Farm Error
Hi Ondrej

I wasn't sure what to do with your reply and forwarded it onto the host, they had sorted it within five minutes and it worked like a charm.

Many Thanks