Validation of viewstate MAC failed hatası

  • Home
  • /
  • Validation of viewstate MAC failed hatası

Validation of viewstate MAC failed hatası

Siteniz  “[HttpException (0x80004005): 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.]” hatasini veriyorsa aşagıdaki kodları webconfig dosyanızına entegre etmeniz probleminizi cözücektir.

  • <pagesenableEventValidation=falseviewStateEncryptionMode =Never />

 

  • <system.web>
    <pagesvalidateRequest=falseenableEventValidation=falseenableViewStateMac=falseviewStateEncryptionMode=Never>
    </system.web>

Yada bu linkten bir machine key generator olusturup , ilgili kodu web.config dosyanız altina eklemeniz gerekmektedir.

 

Bu hatayla karşilaştigimda cözümü bu yolla bulmuştum , siz fazla aramayın belki işinize yarar 😉

Incoming search terms:

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 clustervalidation of viewstate mac failed

About Murat Post

Murat - Pazar, 11 Mart 2012 7:04 Comment Link

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copy Protected by Chetan's WP-Copyprotect.