Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified...DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified...
Previous
 
Next
New Post
9/18/2009 6:20 PM
 

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

 

 
New Post
10/1/2009 7:37 PM
 

I'm having the same problem having just upgraded from 4.9.2 to 5.1.3 using the upgrade package.

Did you ever find a solution to this?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified...DotNetNuke.Services.Exceptions.PageLoadException: The control collection cannot be modified...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out