Unanswered question

how to resolve ViewStateException

I am getting ViewStateException ,
[ViewStateException: Invalid viewstate.
Client IP: 10.212.140.249
Port: 20451
Referer: https://perf.cwthotel360.com/v1660/hotelsearch.aspx?param...=
Path: /v1660/hotelsearch.aspx
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
ViewState: /ep1v7k8VAM1pmgXKJJUMMvYYN9Bcmxxld/B2tut4v10ImHB XGinm9UvR5zIFaPmepLCqMzBM7TG5/xCiVGmooI4hhu13gB5d8WUcnX7B5vwll8nnfHBMjea/nQ9UHT8sGgWXS vi3J20NyJJHMNMRJgc21H74wB8QENLtOAMj0d/tU16U0Ol61zI89oCYfLFKPCV9dksNyEkfaJ u2edSFOvgILEfsevcuotIBuc76GhfYR8TMf2R3 DaNrLQ7AW/NTHEb0iPLtBrdZHtC/F0U d1sRfOLLu3wc5ZCzzZgyd2u]

The state information is invalid for this page and might be corrupted.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

my observation is variable length needs to increased , please suggest

Rashmi A.
Rashmi A.

Rashmi A.

Level
0
65 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

It looked like you haven’t correlated the viewstate, try running the frameworks and see if the .net one fixes the test. There may be other correlations needed.

Rashmi A.
Rashmi A.

Rashmi A.

Level
0
65 / 100
points

I have done that, tried both the ways manully & one suggested by you , even new captured value only going in next request , but still getting exception

ViewState: /ep1v7k8VAM1pmgXKJJUMMvYYN9Bcmxxld/B2tut4v10ImHB XGinm9UvR5zIFaPmepLCqMzBM7TG5/xCiVGmooI4hhu13gB5d8WUcnX7B5vwll8nnfHBMjea/nQ9UHT8sGgWXS vi3J20NyJJHMNMRJgc21H74wB8QENLtOAMj0d/tU16U0Ol61zI89oCYfLFKPCV9dksNyEkfaJ u2edSFOvgILEfsevcuotIBuc76GhfYR8TMf2R3 DaNrLQ7AW/NTHEb0iPLtBrdZHtC/F0U d1sRfOLLu3wc5ZCzzZgyd2u]

this value is everytime a new value

is there anyway to increase variable length