J
Janaka
We have managed to lock down 99% of the application errors occurring in our
asp.net sites. The only errors which occur on a regular basis now are
viewstate errors. We have disabled viewstate on the majority of pages but
kept them where absolutely necessary, such as shopping carts, adding items,
etc.
Also we've made sure the following have been met:
EnableViewStateMac = false
Disabled viewstate on all controls which are unnecessary
Try using more simplified controls
So our viewstate shouldn't be getting too big. We get the "Viewstate is
invalid" error message cropping up on a small percentage of requests -
depends on activity of the site but overall it is only between 1%-5% of
requests. Although this amount is small I still can't see why viewstate
errors are occurring? The browser types vary (and include MS IE) and we
haven't been able to replicate the error ourselves. Has anyone had this
problem or found a way to track down the causes for the errors?
Thanks,
Janaka
asp.net sites. The only errors which occur on a regular basis now are
viewstate errors. We have disabled viewstate on the majority of pages but
kept them where absolutely necessary, such as shopping carts, adding items,
etc.
Also we've made sure the following have been met:
EnableViewStateMac = false
Disabled viewstate on all controls which are unnecessary
Try using more simplified controls
So our viewstate shouldn't be getting too big. We get the "Viewstate is
invalid" error message cropping up on a small percentage of requests -
depends on activity of the site but overall it is only between 1%-5% of
requests. Although this amount is small I still can't see why viewstate
errors are occurring? The browser types vary (and include MS IE) and we
haven't been able to replicate the error ourselves. Has anyone had this
problem or found a way to track down the causes for the errors?
Thanks,
Janaka