Home > Net >  Occasional invalid.net website day view state error
Occasional invalid.net website day view state error

Time:10-14

Recently suddenly found website log error "invalid view state
"Application_Error invalid view state,
Client IP: XXXXXX
Port: XXXXXX
Referer: XXXXXX. Aspx
Path: XXXXXX. Aspx
The user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
ViewState:/wEPDwUKMTg2Nzg3Njg0NGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFh4FFmN0bDAwJFJlc291cmNlTWFuYWdlcjEFFGN0bDAwJG1jcCRmb3JtZGV0YWlsBRBjdGwwMCRtY3AkdHh0WmFvBRJjdGwwMCRtY3AkdHh0WmhvbmcFEGN0bDAwJG1jcCR0eHRXYW4FFGN0bDAwJG1jcCR0eHR0dWlqaWFuBRBjdGwwMCRtY3AkcGFuZWwxBRRjdGwwMCRtY3AkY2hiRmFuV2VpcwUSY3RsMDAkbWNwJFRvb2xUaXAxBRJjdGwwMCRtY3AkZGF0ZUZhQnUFFGN0bDAwJG1jcCRkYXRlSmllWmhpBRJjdGwwMCRtY3AkVG9vbFRpcDIFEmN0bDAwJG1jcCRjaGJNdWx0aQUUY3RsMDAkbWNwJEdyaWRQYW5lbDIFFGN0bDAwJG1jcCRHcmlkUGFuZWwzBRRjdGwwMCRtY3AkR3JpZFBhbmVsNAURY3RsMDAkbWNwJGJ0bkVkaXQFEWN0bDAwJG1jcCRCdXR0b24xBRFjdGwwMCRtY3AkYnRuRmFCdQUUY3RsMDAkbWNwJHRhYnBhbmVsZmIFEWN0bDAwJG1jcCRXaW5kb3cxBRJjdGwwMCRtY3AkZGF0ZVBpY2sFE2N0bDAwJG1jcCRidG5BY2NlcHQFEmN0bDAwJG1jc...

Online search solution
For example:
On the page to add enableEventValidation="false" viewStateEncryptionMode="Never"
And the MSDN official solution: https://support.microsoft.com/zh-cn/help/829743/troubleshooting-the-view-state-is-invalid-error-with-asp-net
These methods are tried, but the problem was not solved, or occasionally exposed
Have a great god help to see how to solve this problem
  •  Tags:  
  • C#
  • Related