Viewstate MAC Validation Errors and DNN
In our log we have an awful lot of viewstate mac validation errors. Verifying the state of the viewstate is a good security feature, this page documents possible causes and fixes. http://support2.microsoft.com/kb/2915218.
However none of the causes seem to fit our case.
-----------
http://blog.janjonas.net/2013-04-18/dotnetnuke-workaround-validation-viewstate-failed-exception-dnn_7-login-form/comment-page-1#comment-38855
And lol and behold it was indeed nuke. A security feature in DNN causes this sometimes when a login status changes on a login page. DNN modifies the Page.ViewStateUserKey. That link has a fix.
However none of the causes seem to fit our case.
-----------
Cause 1: The web application is running in a farm (multi-server environment)
We are not in a web farm.
Cause 2: The worker process uses the IIS 7.0 application pool identity
We are using IIS 7.5, and in that version it is not an issue.
Cause 3: The application pool is configured by using LoadUserProfile=false
That setting is set to true for our app pool.
Cause 4: The Page.ViewStateUserKey property has an incorrect value
Nothing we are doing is modifying this.
Cause 4 made me think about the CMS DNN. So I googled the error and DNN.
http://blog.janjonas.net/2013-04-18/dotnetnuke-workaround-validation-viewstate-failed-exception-dnn_7-login-form/comment-page-1#comment-38855
And lol and behold it was indeed nuke. A security feature in DNN causes this sometimes when a login status changes on a login page. DNN modifies the Page.ViewStateUserKey. That link has a fix.
Comments
Post a Comment