Invalid Viewstate

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 年 前
http://www.developmentnow.com/blog/InvalidViewstate+Or+Unable+To+Validate+Data+Error.aspx
14 年 前
We've seen quite a few of these errors.  Appears to be and IE 8 issue.

http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/05/scriptresourceaxd-invalid-viewstate.html

https://connect.microsoft.com/IE/feedback/details/467062/bug-ie8-4k-dropped-invalid-viewstate-when-loading-scriptresource-axd-or-webresource-axd-asp-net

We haven't been able to substantiate any negative impact to our end users due to this issue.


eric
14 年 前
Im getting a substantial number of them
14 年 前
Generate your machine key at http://www.orcsweb.com/articles/aspnetmachinekey.aspx

Modify the web.config file to

<?xml version="1.0"?>

<configuration>

    <appSettings/>
    <connectionStrings/>
    <system.web>

        <machineKey validationKey='4XXXXABBECEAAD1E5C5BC0791ED5AB9A2CB4BE34D24BFAE882E295279A339F8069E02CC0AA2C3C871928ABD0C30019ADC5E064D24C48D95C72614C2ACFD99D' decryptionKey='B7420221667B35322DB8602DB91D25AB623F76C7D66B998E' validation='SHA1'/>

    </system.web>
</configuration>


There you have it. You have cured your view state errors.
14 年 前
I have 1-2 such errors a day, v1.2. Did compucell solution work for anybody? i'm a bit reluctant to put hardcoded machineKey  in web.config unless it fixes the problem for sure.
14 年 前
Yeah it seems like most servers don't have this problem. But if yours does cause it i am afraid its the only way out.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.