Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Invalid ViewState on BizForm View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/14/2011 7:53:07 AM
   
Invalid ViewState on BizForm
I continue to receive this error on our contact us page which has a biz form on it and have no idea on how to fix it. It generates between 20-50 error emails per day for me. Could this be because a bot is trying to submit the form? If so, is there a CAPTCHA webpart that can be placed on a page?

EventType: E

EventTime: 1/13/2011 3:30:01 PM

Source: Application_Error

EventCode: EXCEPTION

UserID: 65

UserName: public

IPAddress: 79.142.68.99

NodeID: 236

DocumentName: Contact Us

EventDescription: Message: Invalid viewstate.
Client IP: 79.142.68.99
Port: 58136
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
ViewState: /wEPDwUKLTU2MjkyNjQyNw9kFgICARBkZBYCAgMPZBYCZg9kFgJmD2QWBgIBD2QWAmYPZBYCAgEPZBYGZg8PFgIeC05hdmlnYXRlVXJsBSYvTG9naW4uYXNweD9SZXR1cm5Vcmw9L0NvbnRhY3QtVXMuYXNweGRkAgIPDxYCHgdWaXNpYmxlaGRkAgQPDxYCHwFoZGQCBQ9kFgJmD2QWAgIBD2QWAmYPDxYEHghDc3NDbGFzcwUcbWVudUNvbnRhaW5lciBtZW51Qm9yZGVyQmx1ZR4EXyFTQgICZGQCBw9kFgJmD2QWAgICD2QWAmYPZBYCZg9kFggCAw9kFgJmDw8WAh8BaGRkAgUPZBYCAgEPZBYCZg9kFgICAg9kFgICAQ9kFhQCCQ9kFgJmDw8WBB8CBR9FZGl0aW5nRm9ybUNvbnRyb2xOZXN0ZWRDb250cm9sHwMCAmRkAg8PZBYCZg8PFgQfAgUfRWRpdGluZ0Zvcm1Db250cm9sTmVzdGVkQ29udHJvbB8DAgJkZAIVD2QWAmYPDxYEHwIFH0VkaXRpbmdGb3JtQ29udHJvbE5lc3RlZENvbnRyb2wfAwICZGQCGw9kFgJmDw8WBB8CBR9FZGl0aW5nRm9ybUNvbnRyb2xOZXN0ZWRDb250cm9sHwMCAmRkAiEPZBYCZg8PFgQfAgUfRWRpdGluZ0Zvcm1Db250cm9sTmVzdGVkQ29udHJvbB8DAgJkZAInD2QWAmYPDxYEHwIFH0VkaXRpbmdGb3JtQ29udHJvbE5lc3RlZENvbnRyb2wfAwICZGQCLQ9kFgJmDw8WBB8CBR9FZGl0aW5nRm9ybUNvbnRyb2xOZXN0ZWRDb250cm9sHwMCAmRkAjMPZBYCZg8PFgQfAgUfR...
Stack Trace:

Site: XXX

EventUrl: /Contact-Us.aspx

EventMachineName: XXX-IIS

EventUserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

EventUrlReferrer: http://www.xxxx.org/Contact-Us.aspx

User avatar
Certified Developer XbK
Certified Developer XbK
bmckeiver-bizstream - 1/14/2011 2:39:57 PM
   
RE:Invalid ViewState on BizForm
We also receive the same error. I chalked it up to a spammer / bot as well, but it would be nice to know.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/17/2011 8:44:26 AM
   
RE:Invalid ViewState on BizForm
Hello,


Does it happen always or time to time?

It could happen if somebody do a postback before the whole viewstate of page is loaded, e.g. if viewstate is too long and/or the connection is slow and user submit some button before the page is completely loaded. Unfortunately, this is behavior of .NET platform, it is not caused by CMS.

Other possibile solution: http://community.discountasp.net/showthread.php?t=2719


Best regards,
Helena Grulichova

User avatar
Certified Developer XbK
Certified Developer XbK
bmckeiver-bizstream - 1/17/2011 12:22:25 PM
   
RE:Invalid ViewState on BizForm
It doesn't happen every time, but it does seem to happen around 10 times a day on some sites. I'll check your your link and reply back when I get a chance to dig deeper