[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

01/08/2008 at 02:45AM PST, ID: 23066050
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

Website has started giving an error: "Unable to validate data". Most common on IE7

Asked by Advoco in Programming for ASP.NET

Tags: C# ASP.NET, IE7, https://www.advoco.ie/login.aspx, System.Web.HttpException: Unable to validate data.

Hi All,

I'm starting to get a bit worried about my company website. I've also noticed a drop in online sales so this is now critical.

I'm starting to get an error "Unable to validate data" when I access some pages from my main machine which is Vista-64 with IE7. I'm nearly always getting this error on this michine but I've only noticed it once from my other machine - XP IE6. I have no idea what is causing it and I'd appreciate any help.

See below for the full error.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to validate data.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to validate data.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[HttpException (0x80004005): Unable to validate data.]
   System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +196
   System.Web.UI.LosFormatter.Deserialize(String input) +60

[HttpException (0x80004005): Authentication of viewstate failed.  1) If this is a cluster, edit <machineKey> configuration so all servers use the same validationKey and validation algorithm.  AutoGenerate cannot be used in a cluster.  2) Viewstate can only be posted back to the same page.  3) The viewstate for this page might be corrupted.]
   System.Web.UI.LosFormatter.Deserialize(String input) +118
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +102

[HttpException (0x80004005): Invalid_Viewstate
      Client IP: 79.97.0.128
      Port: 11646
      User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; Media Center PC 5.0; InfoPath.2)
      ViewState: dDwtMTkwNjU4NTc3MDt0PDtsPGk8Mz47PjtsPHQ8O2w8aTwzPjtpPDQxPjtpPDQ0Pjs+O2w8dDw7bDxpPDE+Oz47bDx0PHA8cDxsPEFsdGVybmF0ZVRleHQ7SW1hZ2VVcmw7PjtsPEFkdm9jbyBUZWNobm9sb2dpZXMgLSBPZmZpY2lhbCBTYXJpYW4gU3lzdGVtcyAmIFNpZW1lbnMgV2lyZWxlc3MgTW9kdWxlcyBSZXNlbGxlcnM7Li4vaW1hZ2VzL2Jhbm5lcnMvYmFubmVyXzMuanBnOz4+Oz47Oz47Pj47dDw7bDxpPDE+O2k8Mz47PjtsPHQ8cDxwPGw8VGV4dDs+O2w8MjAwODs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XDxhIGhyZWY9J3ZpZXdfcHJvZHVjdC5hc3B4P2NhdHVpZD03MDQ0MDQmcHJvZHVpZD04MDExNjcmbmFtZT1TYXJpYW5fU3lzdGVtc19FUjQxMTAnIHRpdGxlPSdTYXJpYW5fU3lzdGVtc19FUjQxMTAnXD5TYXJpYW4gU3lzdGVtcyBFUjQxMTBcPC9hXD4mbmJzcFw7Jm5ic3BcO1w8YSBocmVmPSd2aWV3X3Byb2R1Y3QuYXNweD9jYXR1aWQ9NzA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ozs+Oz4+O3Q8O2w8aTwwPjs+O2w8dDxwPHA8bDxJbWFnZVVybDtBbHRlcm5hdGVUZXh0O0Rlc2NyaXB0aW9uVXJsOz47bDwuLi9pbWFnZXMvc3BvdGxpZ2h0cy84MDExNjcuanBnO1Nhcmlhbl9TeXN0ZW1zX0VSNDExMDt2aWV3X3Byb2R1Y3QuYXNweD9jYXR1aWQ9NzA0NDA0JnByb2R1aWQ9ODAxMTY3Jm5hbWU9U2FyaWFuX1N5c3RlbXNfRVI0MTEwOz4+Oz47Oz47Pj47Pj47Pj47bDxCYW5uZXIxOmltZ0Jhbm5lcjtjaGtWYWxpZGF0ZVZBVDtjaGtJQWdyZWU7SW1hZ2VCdXR0b24xO0ltYWdlQnV0dG9uMjtQcm9kdWN0X3Nwb3RsaWdodDE6aW1nU3BvdGxpZ2h0Oz4+e3gfmmw6fwJ0uskeDOVRc+fr7zA=
      Http-Referer: https://www.advoco.ie/register.aspx
      Path: /register.aspx.]
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +443
   System.Web.UI.Page.LoadPageViewState() +18
   System.Web.UI.Page.ProcessRequestMain() +447

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
[+][-]01/08/08 05:53 AM, ID: 20608464

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: C# ASP.NET, IE7, https://www.advoco.ie/login.aspx, System.Web.HttpException: Unable to validate data.
Sign Up Now!
Solution Provided By: ChetOS82
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01/08/08 06:23 AM, ID: 20608692

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/08/08 06:30 AM, ID: 20608766

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 / EE_QW_2_20070628