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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumA critical error has occurred.A control cannot modify its parentsA critical error has occurred.A control cannot modify its parents' control collections.
Previous
 
Next
New Post
6/29/2005 12:30 PM
 

Installed forum and gallery  with a couple of threads and posts ,

Was running fine and then clicked my settings for logged in user, and the error above has appeared.

Will work for other users , just not the user that the error has occurred on.

It then disappears and works ok after a while. Can anybody shed any light on this  

 
New Post
8/17/2005 8:44 AM
 

More info.  Happened to me today.  Tried clearing cache and setting to no nache with the same error.

 

AssemblyVersion: 03.01.00
Method: System.Web.UI.ControlCollection.RemoveAt
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: DNNWorx.com!
UserID: 1
UserName: host
ActiveTabID: 66
ActiveTabName: Forum
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 2f2267c2-234b-4d95-9f9e-b30170743ca8
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: A control cannot modify its parents' control collections.
Message: DotNetNuke.Services.Exceptions.PageLoadException: A control cannot modify its parents' control collections. ---> System.Web.HttpException: A control cannot modify its parents' control collections. at System.Web.UI.ControlCollection.RemoveAt(Int32 index) at System.Web.UI.ControlCollection.Remove(Control value) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Modules.Forum.Posts.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() 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.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() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: DEDI402

 
New Post
8/17/2005 1:26 PM
 

This is the way things were loaded into the control tree in that release.  It has been corrected.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
8/17/2005 1:39 PM
 

Thanks.  Just wanted to make sure you knew about it.

Wallew ;)

 
New Post
8/30/2005 8:00 PM
 

I am getting this error too. To be exact:

A critical error has occurred.
A control cannot modify its parents' control collections.

I am running Windows 2000, IE6, and have DNN 3.1.installed with SQL server (via GoDaddy)

Some things I have noticed:

1) Host/Admin never get this error.

2) If I create additional accounts (from the same computer), they get the same error.

3) Modifying permissions and page locations does not correct the problem.

4) Deleting IE files/cookies/cache does not correct the problem.

5) Creating new Forum modules/forum groups/discussions does not correct the problem.

The only thing that seems to help is time or a virgin installation.

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumA critical error has occurred.A control cannot modify its parentsA critical error has occurred.A control cannot modify its parents' control collections.


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