cancel
Showing results for 
Search instead for 
Did you mean: 
rintumondal88
Nintex Newbie

Validation of viewstate MAC failed - While open the workflow

Hi All - 

After Window server 2008 R2 upgrade to Windown server 2012 R2, we are getting below error message while open the workflow into the server (WFE - license server) 

- SharePoint 2013

- Nintex Workflow 2013 (v3.3.1.0)

 

NintexIssue_1.png

 

Please find the below logs :-

 

Application error when access /_layouts/15/NintexWorkflow/Preview.aspx, Error=Invalid viewstate. Client IP: 127.0.0.1 Port: 60075 Referer: http://sitecollection/_layouts/15/NintexWorkflow/Preview.aspx?WorkflowId=6a4626de-1c2b-4b78-9181-3ae80288d2d6&Category=GloballyReusable&ListId=00000000-0000-0000-0000-000000000000 Path: /_layouts/15/NintexWorkflow/Preview.aspx User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko ViewState: /wEPDwUKMjAyNDg5NTE5OQ8WBB4SX19OdHhBbnRpWHNyZlRva2VuBSA2MDAyMjU4ODE5ZjI0MWViOTA3OGZkODAyMTc2Y2U1NB4VX19OdHhBbnRpWHNyZlVzZXJOYW1lBR0wIy53fGRtenByb2QwMVxzdmMtZGV2c3BhZG1pbhYCZg9kFgICAQ9kFgQCAQ9kFgICEw9kFgICAw9kFgJmD2QWAmYPPCsABgBkAgkPZBYMAhUPZBYCAgEPZBYCZg8PFgIeB1Zpc2libGVoZGQCFw9kFgICAw9kFgJmD2QWBAICD2QWCgIBDxYGHhNDbGllbnRPbkNsaWNrU2NyaXB0BYIBRW5zdXJlU2NyaXB0RnVuYygnc2hhcmluZy5qcycsICdEaXNwbGF5U2hhcmVkV2l0aERpYWxvZycsIGZ1bmN0aW9uICgpIHsgRGlzcGxheVNoYXJlZFdpdGhEaWFsb2coJ1x1MDAyZkluc3RcdTAwMmZISzAwMVx1MDAyZicpOyB9KR4oQ2xpZW50T25DbGlja1NjcmlwdENvbnRhaW5pbmdQcmVmaXhlZFVybAWCAUVuc3VyZVNjcmlwdEZ1bmMoJ3NoYXJpbmcuanMnLCAnRG


System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 127.0.0.1 Port: 60075 Referer: http://sitecollection/_layouts/15/NintexWorkflow/Preview.aspx?WorkflowId=6a4626de-1c2b-4b78-9181-3ae80288d2d6&Category=GloballyReusable&ListId=00000000-0000-0000-0000-000000000000 Path: /_layouts/15/NintexWorkflow/Preview.aspx User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko ViewState: /wEPDwUKMjAyNDg5NTE5OQ8WBB4SX19OdHhBbnRpWHNyZlRva2VuBSA2MDAyMjU4ODE5ZjI0MWViOTA3OGZkODAyMTc2Y2U1NB4VX19OdHhBbnRpWHNyZlVzZXJOYW1lBR0wIy53fGRtenByb2QwMVxzdmMtZGV2c3BhZG1pbhYCZg9kFgICAQ9kFgQCAQ9kFgICEw9kFgICAw9kFgJmD2QWAmYPPCsABgBkAgkPZBYMAhUPZBYCAgEPZBYCZg8PFgIeB1Zpc2libGVoZGQCFw9kFgICAw9kFgJmD2QWBAICD2QWCgIBDxYGHhNDbGllbnRPbkNsaWNrU2NyaXB0BYIBRW5zdXJlU2NyaXB0RnVuYygnc2hhcmluZy5qcycsICdEaXNwbGF5U2hhcmVkV2l0aERpYWxvZycsIGZ1bmN0aW9uICgpIHsgRGlzcGxheVNoYXJlZFdpdGhEaWFsb2coJ1x1MDAyZkluc3RcdTAwMmZISzAwMVx1MDAyZicpOyB9KR4oQ2xpZW50T25DbGlja1NjcmlwdENvbnRhaW5pbmdQcmVmaXhlZFVybAWCAUVuc3VyZVNjcmlwdEZ1bmMoJ3NoYXJpbmcuanMnLCAnRG



Getting Error Message for Exception System.Web.HttpException (0x80004005): 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. See http://go.microsoft.com/fwlink/?LinkID=314055 for more information. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 127.0.0.1 Port: 60075 Referer: http://sitecollection/_layouts/15/NintexWorkflow/Preview.aspx?WorkflowId=6a4626de-1c2b-4b78-9181-3ae80288d2d6&Category=GloballyReusable&ListId=00000000-0000-0000-0000-000000000000 Path: /_layouts/15/NintexWorkflow/Preview.aspx User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko ViewState: /wEPDwUKMjAyNDg5NTE5OQ8WBB4SX19OdHhBbnRpWHNyZlRva2VuBSA2MDAyMjU4ODE5ZjI0MWViOTA3OGZkODAyMTc2Y2U1NB4VX19OdHhBbnRpWHNyZlVzZXJOYW1lBR0wIy53fGRtenByb2QwMVxzdmMtZGV2c3BhZG1pbhYCZg9kFgICAQ9kFgQCAQ9kFgICEw9kFgICAw9kFgJmD2QWAmYPPCsABgBkAgkPZBYMAhUPZBYCAgEPZBYCZg8PFgIeB1Zpc2libGVoZGQCFw9kFgICAw9kFgJmD2QWBAICD2QWCgIBDxYGHhNDbGllbnRPbkNsaWNrU2NyaXB0BYIBRW5zdXJlU2NyaXB0RnVuYygnc2hhcmluZy5qcycsICdEaXNwbGF5U2hhcmVkV2l0aERpYWxvZycsIGZ1bmN0aW9uICgpIHsgRGlzcGxheVNoYXJlZFdpdGhEaWFsb2coJ1x1MDAyZkluc3RcdTAwMmZISzAwMVx1MDAyZicpOyB9KR4oQ2xpZW50T25DbGlja1NjcmlwdENvbnRhaW5pbmdQcmVmaXhlZFVybAWCAUVuc3VyZVNjcmlwdEZ1bmMoJ3NoYXJpbmcuanMnLCAnRG...
at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)
at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose)
at System.Web.UI.HiddenFieldPageStatePersister.Load()
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Labels: (1)
0 Kudos
Reply
1 Reply
Nintex Employee
Nintex Employee

Re: Validation of viewstate MAC failed - While open the workflow

Hi,
The following Microsoft blog discusses this issue and offers a resolution.
https://support.microsoft.com/en-au/help/829743/troubleshooting-the-view-state-is-invalid-error-with...
0 Kudos
Reply