Validation of viewstate MAC failed...

Problem

You get this error when running your application using the Safari browser for the Apple Macintosh:

Validation of viewstate MAC failed.

The state information is invalid for this page and might be corrupted.

Solution

Edit your application’s Web.config file to include this line:

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" />

See Also

Part IX:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages