Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to validate data
Message
From
27/04/2008 12:08:56
 
 
To
27/04/2008 11:46:02
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01313365
Message ID:
01313369
Views:
10
Does manually setting the enableViewStateMac property of the asp.net pages to 'true' have any effect? I read that someone actually fixed it by setting it to 'false' which makes no sense to me. that should be the default. I saw this before and it also may occur when users leave a page open for too long and later generate a post back. The maching key is automatically generated and changes prior to the user causing the postback. If you set a static machine key it may help.

This is in C# (there should be a vb example):

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q312906

Not sure it will work in your case, but I guess it's worth a shot unless you find out otherwise.


>Occasionnally, I get this message from an .ASPX page:
>
>"Unable to validate data"
>
>This is the stack trace:
>
>
>at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
>   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
>
>
>This is an error which seems to happen at the .NET level as I cannot trap it in my application. Anyone would know what could be related to that?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform