Hello,
I am hosting an ASP.NET MVC 2 application on its own application pool.
Everything works fine if the application pool is running on Network Service with Full Control.
If I make the application pool to run on its application pool identity, even with full control, the web site runs ok but on every page with a form I get the following error:
"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.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Web.HttpException: 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."
Any idea how to solve this problem?
Thank You,
Miguel
View Complete Post