Invalid viewstate error

前端 未结 9 647
盖世英雄少女心
盖世英雄少女心 2021-01-31 05:19

I\'m getting an invalid viewstate error with regard to the ScriptResource.axd. Just wondering if anyone of you could help me on this. Error is:

2009-02-24 09:46:30,02         


        
相关标签:
9条回答
  • 2021-01-31 06:08

    I have noticed that the Firefox 3.1 Beta causes invalid viewstate errors. You might want to review your logs to see what browser that is being used when these errors occur.

    0 讨论(0)
  • 2021-01-31 06:09

    MS recommends not declaring your charset using a meta tag and setting it as a HTTP header instead.

    So remove

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

    and add

    Response.AddHeader("Content-Type", "text/html; charset=utf-8");

    0 讨论(0)
  • 2021-01-31 06:10

    As said, this might happen if you are using a Web Farm and the machine keys are not in sync.

    Another possibility is that the assembly date is in the future. This leads to all sorts of obscure problems and is worth checking. Maybe your server is in a different time zone?

    0 讨论(0)
提交回复
热议问题