WebResource.axd - Invalid ViewState

I continue to see these errors in our error log. Any ideas how I can figure out where this comes from, or better yet, how to fix the problem?

System.Web.HttpException: Invalid view state. in System.Web.UI.Page.DecryptString (String s) in System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest (HttpContext context) in System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.IEppie. .Execute () on System.Web.HttpApplication.ExecuteStep (step IExecutionStep, Logical & completedSynchronously)

Update Here's what I have tried so far - we run one web server (no farm)

  • Adding a machine key value to web.config
+3
source share
6 answers
+4
source

I had this problem when Google (and other search spiders) indexed one of my sites. I had to put webresource.axd files in /robots.txt that had to be ignored, and the error has been stopped since then.

We use ELMAH , so we were able to see the version of the browser that requested the file, and this ended up being GoogleBot.

+5
source

(ContentType CharSet), Microsoft, . , , , .

+2

, , viewstate - .

, asp.net wget. . , viewstate , .

, .

+1

Source: https://habr.com/ru/post/1710198/


All Articles