简体   繁体   中英

visual studio 2012 web performance test , getting Validation of viewstate MAC failed error in post requests

when using web performance test in visual studio 2012 it results the following error after running the test for post requests only:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

问题已解决,我从web.config禁用了enableEventValidation,enableViewStateMac

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM