ASP.NET Guru to fix error ''validation of viewstate mac failed''

Cancelled Posted Nov 2, 2011 Paid on delivery
Cancelled Paid on delivery

We receive this error on our payment system approximately 1 in 100 times. We cannot reproduce this error in test. We need you to fix this so the error never occurs.

## Deliverables

We want someone who is highly knowledgeable in the workings of asp.net to either:

1) Update the page so it can work with the viewstate switched off ...or...

2) Do something else to guarantee that this error will never happen, such as store the viewstate on the backend. ... or ...

3) Find a definitive solution to this problem.

For the page where this error occurs see:

<[url removed, login to view]>

This is not caused by an incomplete loading page, nor is it caused by a cluster. Stack trace is as follows:

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.

at [url removed, login to view](Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)

at [url removed, login to view](Exception inner, String persistedState)

at [url removed, login to view](String inputString)

at [url removed, login to view](String serializedState)

at [url removed, login to view](IStateFormatter formatter, String serializedState)

at [url removed, login to view]()

at [url removed, login to view]()

at [url removed, login to view]()

at [url removed, login to view](Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at [url removed, login to view](Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

at [url removed, login to view]()

at [url removed, login to view](HttpContext context)

at [url removed, login to view](HttpContext context)

at [url removed, login to view](HttpContext context) in c:\windows\Microsoft.NET\Framework\[url removed, login to view]\Temporary ASP.NET Files\secure\784cc66c\93876f74\[url removed, login to view]:line 0

at [url removed, login to view]()

at [url removed, login to view](IExecutionStep step, Boolean& completedSynchronously)

*******************************************

Invalid viewstate.

Client IP: [url removed, login to view]

Port: 1652

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; InfoPath.1; .NET CLR [url removed, login to view]; .NET CLR [url removed, login to view]; .NET CLR [url removed, login to view])

ViewState: /wEPDwULLTE2Mzg2MzgxMzcPZBYCAgMPZBYaAg8PFgIeBFRleHQFyAFDb3Jwb3JhdGUgVm9jYWJ1bGFyeSBEZWxpdmVyeSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGQCEQ8WAh8ABfQDQ29ycG9yYXRlIFZvY2FidWxhcnkgUGx1cyBCb251c2VzIC0gJDE5NyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI...

***************************************

.NET ASP C# Programming MySQL PHP Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #3670215

About the project

Remote project Active Nov 2, 2011