Hi Guys. I have a unique issue that I have not been able to resolve by looking at other Viewstate verification errors online.
Background: A client comes into our site, signs in and proceeds to an e-sign form. Once they click the submit button, they get the viewstate error. Sometimes they get through and get the error on either of the next two forms. This happens sporadically. Maybe 2 out of 10 receive the error. All clients who received an error were able to go back in a few hours later and complete the forms without error. My hosting company, programmers and myself have not been able to replicate the error yet.
This has been happening for the last 2 weeks.
So we have three pages that this is occurring on one domain and another separate page on a different domain. All on the same windows dedicated server. So first thought is that, I have not changed any code in months, my SQL admin has not changed code related to these processes in several months, so it must be the server. I submitted a ticket with Liquidweb. They could not find anything wrong.
Funny thing is, I do not use viewstates in my web.config or on my forms. I did try using the disable viewstate code in the config file. I also checked the viewstate base64 code in a decrypter, that looked fine. I checked the sessions are enabled and enough time is set for timeouts. No patterns have occurred, like specific times, browsers, or locations.
I’m currently having the programmers that we work with go through the code and server settings.
Conclusions: It seems like the cookie or session data is being lost somewhere along the process. I checked the ideal timeout settings and they are at 20min. More than enough time for someone to e-sign, (our reps walk the client through the entire process, so I’m sure on the timeframe.) I still think it’s a hosting issue, but they say nothing has changed in two weeks.
It’s starting to come down to finger pointing now between the hosting techs, sql admin, it admin and programmers. Grrrr.
Here is the error:
Event code: 4009
Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
Event time: 3/23/2011 8:54:31 PM
Event time (UTC): 3/24/2011 12:54:31 AM
Event ID: aaaa4d1a98f84f05a61e45a82178275c
Event sequence: 33
Event occurrence: 4
Event detail code: 50203
Application information:
Application domain: /LM/W3SVC/6983/Root-1-129454012216742214
Trust level: Full
Application Virtual Path: /
Application Path: C:\\Inetpub\\vhosts\\secure.xxx.com\\httpdocs\\
Machine name: HOST2-xxx
Process information:
Process ID: 351124
Process name: w3wp.exe
Account name: HOST2-xxx\\IWPD_2(xxx)
Request information:
Request URL: https://secure.xxx.com:443/ClientForms/creditor_info_form.aspx
Request path: /ClientForms/creditor_info_form.aspx
User host address: 166.56.104.216
User:
Is authenticated: False
Authentication Type:
Thread account name: HOST2-xxx\\IWPD_2(xxx)
ViewStateException information:
Exception message: Invalid viewstate.
Client IP: 166.56.104.216
Port: 1812
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
PersistedState: /wE....
Referer: https://secure.xxx.com/ClientForms/creditor_info_form.aspx
Path: /ClientForms/creditor_info_form.aspx