This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Line 118: Line 119:Line 120: this.Controls.Add(module);Line 121: }Line 122: }
[HttpException (0x80004005): 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.] System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +353 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +142 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +300 System.Web.UI.Control.AddedControl(Control control, Int32 index) +2067969 System.Web.UI.ControlCollection.Add(Control child) +146 mojoPortal.Web.CachedSiteModuleControl.CreateChildControls() in C:\z_drive\mojoportal_2.x\Web\Controls\CachedSiteModuleControl.cs:120 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +21 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289 System.Web.UI.Page.FindControl(String id) +40 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +252 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4526