We keep getting this error on one of our web pages. I have absolutely no
idea which control is causing the problem. How do i diagnose and fix this
problem?
It has been driving us nuts!
Thanks
Sanjay
System.Web.Http Exception: Failed to load viewstate. The control tree into
which viewstate is being loaded must match the control tree that was used to
save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the
type and position of the controls added during the initial request.
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.P age.LoadAllStat e()
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
idea which control is causing the problem. How do i diagnose and fix this
problem?
It has been driving us nuts!
Thanks
Sanjay
System.Web.Http Exception: Failed to load viewstate. The control tree into
which viewstate is being loaded must match the control tree that was used to
save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the
type and position of the controls added during the initial request.
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.C ontrol.LoadChil dViewStateByInd ex(ArrayList childState)
at System.Web.UI.C ontrol.LoadView StateRecursive( Object savedState)
at System.Web.UI.P age.LoadAllStat e()
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
Comment