Sign In  |  Register
 
 
DotNetNuke Support Forums
New instatllation of 5.1 Throwing "The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases." Error
Last Post 25 Jun 2009 12:41 PM by tigris7. 0 Replies.
Printer Friendly
Sort:
PrevPrevNextNext
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
tigris7
New Member
New Member
Send Private Message
Posts:20

--
25 Jun 2009 12:41 PM  
I wonder if you have seen this because I cannot run a new instatllation of 5.1.



It occurs in function Public Shared Sub EnableMinMax(ByVal objButton As Control, ByVal objContent As Control, ByVal intModuleId As Integer, ByVal blnDefaultMin As Boolean, ByVal strMinIconLoc As String, ByVal strMaxIconLoc As String, ByVal ePersistanceType As MinMaxPersistanceType, ByVal intAnimationFrames As Integer, ByVal strPersonalizationNamingCtr As String, ByVal strPersonalizationKey As String)






System.Web.HttpException was unhandled by user code

ErrorCode=-2147467259

Message="The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases."

Source="System.Web"

StackTrace:

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) in C:\DotNetNuke_Community\Library\UI\Utilities\ClientAPI.vb:line 155

at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, String strPersonalizationNamingCtr, String strPersonalizationKey) in C:\DotNetNuke_Community\Library\UI\Utilities\ClientAPI.vb:line 145

at DotNetNuke.UI.ControlPanels.IconBar.Page_PreRender(Object sender, EventArgs e) in C:\DotNetNuke_Community\Website\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.Control.PreRenderRecursiveInternal()

at System.Web.UI.Control.PreRenderRecursiveInternal()

at System.Web.UI.Control.PreRenderRecursiveInternal()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.


Active Forums 4.1
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.4.1 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$39.00
Product Information 
DotNetNuke CSS NavMenu 3.4.1 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
DotNetNuke Performance Caching & Compression - PageBlaster 3.4.5 - Professional Edition

AuthorJohn Mitchell
Base Price$59.00
Product Information