Poll Error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/22/2010 4:59:41 AM
Gravatar
Total Posts 110

Poll Error

Hello,

I have created a new page that contains a poll and it seems to be working for some people and not others for no apparent reason.  Looking in the SystemLog I find entries like this when users are unable to select a poll option.  They can get to the poll web page but receive the server error has occured error when trying to select an option.

2010-04-22 10:45:19,934 ERROR mojoPortal.Web.Global - 213.86.4.252-en-US - /poll.aspx
System.Web.UI.ViewStateException: Invalid viewstate.
Client IP: 213.86.4.252
Port: 3072
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
ViewState: hKdDH+MHGnnpc/TO92ZmxOhra6yKa8J/xTXR9vRMXKolJzpMyDIDTjRbzjy1rI6/qQuGiqSyeWO2NgZOZkHTebMSvXy8urWWg5ua0lbQMHBh+IwH7s86w3VX8Y2uBv+RujTQwOEXkQdimHxZ4Tgnpb7Bdm+fL86q9VJoYprarmyuOPp15fBZ0MRBN4dTW4ujU3NUY3nQlVfsF1j6sHIOpjiGB9XlkHKhn/8Ho4O7k9x/QN+XRRHrEu23+A3yMzeoDiQj7sDSYPLLUW30VQGnyYVbmBaJN9UNi+8jGJnEqAFd4rTlwb0g2HCQZqioM9FWVwpa7orHiKYB7uxWCWY2LSslF0/HednyB7RCdNc7biORcWme7gYtN14tPA8YKnMfaOUnnQBI+8m4mPD90Ny4ZlVkd6VfZXnntjm0oG5NW5kNhBNP7yEv4BCrqb4Xl52v80CwNsPrys5ImST1aTSSimSlCLFevH/qOW4APY4BfNF/9j2LGA7Imnl86i6KgTj0anC336n6RIYsF6h61A1DrvXDmQRXUqc4A2qPHRQETM4YF7ZOy3nBtinazcu+r8kDLwfXZwkyFUivyEcZ53a4w6JJv8Q868FahF/KQkyY0mo+aqcJpTRMMWpQq5SgOK4hpYdroAjXYY+gKm6gPmsK98wyxd5wVMoEpchIkdvrntqpm3KVwGdb/FJQGSh/GBmaUhEV9pr+QtvDGyc+TnK4zrIUHyiwiAgjnQqmIP8GN1zYN8xuHJGd+soe08xG5oI5DDxy4QM/1JTxq8vxuFv+PjQ0v6TpNAiXs9Owb57z3al3WAWGGBwpGsoDU0... ---> System.Web.HttpException: Unable to validate data.
at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
--- End of inner exception stack trace ---

 

Any thoughts anyone?

Thanks.

4/22/2010 6:59:25 AM
Gravatar
Total Posts 18439

Re: Poll Error

Hi,

ViewState errors can happen when users are on a slow connection and they click buttons that do postback before the page is fully loaded. They can also happen from bots that manipulate the markup before postback.

It is basically ASP.NET security which is trying to validate that the view state posted is the same viewstate that was served in the first request of the page.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.