ASP.NET MVC 学习心得 (3) – 怎样使用服务器控件

创建ASP.NET MVC 应用程序后,在界面上添加个ASP.NET 按钮服务器控件。运行程序单击按钮控件,产生如下异常。

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.

posted @ 2009-04-14 17:21  许晓光  阅读(753)  评论(0编辑  收藏  举报