在 Visual Studio 2012 中使用 Web 性能测试时,仅针对发布请求运行测试后会导致以下错误:
viewstate MAC 验证失败。如果此应用程序由网络场或集群托管,请确保配置指定相同的 validationKey 和验证算法。 AutoGenerate 不能在集群中使用。
最佳答案
问题已解决我从 web.config 中禁用了 enableEventValidation、enableViewStateMac
关于performance - visual studio 2012 web performance test,获取 Validation of viewstate MAC failed error in post requests,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13787301/