We're down.
Here's the full error:
DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. ---> System.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Utilities.MSAJAX.Register(Page objPage) at DotNetNuke.UI.Utilities.MSAJAX.RegisterClientScript(Page objPage, String Path) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientScriptBlock(Page objPage, String key) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientScriptBlock(Page objPage, String key, String strScript) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames, String strPersonalizationNamingCtr, String strPersonalizationKey) at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, String strPersonalizationNamingCtr, String strPersonalizationKey) at DotNetNuke.UI.ControlPanels.IconBar.Page_PreRender(Object sender, EventArgs e) in E:\clnts\www.thayerbirding.com\Admin\ControlPanel\IconBar.ascx.vb:line 379 at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace -
I'm getting this on the first page load.
A little background:
I'm gettng this while trying to recover from 4.9 to 5.1.2 upgrade with the "the number of parameters do not match..." error that many others are getting. There is no backup (don't scold...it was a series of errors). At the suggestion of my ISP, I dropped all stored procedures, overlayed 5.1.0 and ran an install. I installed a copy of 5.1.0 locally and compared the database schemas -- except for the missing stored procedures from desktop modules (stupid, stupid, stupid) -- it all looks good. I'm in the process of reruning all the sqldataprovider scripts for modules so I can restore the sp's I deleted. However, I don't think the above error has to do with it.
Any ideas?
Dave