Murat TATAR God saves lost souls , I save lost passwords

11Mar/120

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="false"viewStateEncryptionMode ="Never" />

 

  • <system.web>
    <pagesvalidateRequest="false"enableEventValidation="false"enableViewStateMac="false"viewStateEncryptionMode="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
   
Copy Protected by Chetan's WP-Copyprotect.