Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1160 karma points
    Feb 11, 2011 @ 16:50
    Connie DeCinko
    0

    Multiple controls with the same ID ...

    I copied an existing Document Type.  All ok.  Assigned structure, allowed child nodes so I can create document with new document type under old document type.  Tried to create a new document based on the new/copied document type.  I get this error:

    Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [HttpException (0x80004005): Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.]
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +11247556
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +317
       System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +145
       AttackMonkey.TabHider.ApplicationBase.umbracoPage_Load(Object sender, EventArgs e) +427
       umbraco.presentation.masterpages.MasterPageLoadHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.presentation.masterpages.umbracoPage.FireOnLoad(EventArgs e) +131
       umbraco.presentation.masterpages.umbracoPage.Page_Load(Object sender, EventArgs e) +107
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048
    
  • Connie DeCinko 931 posts 1160 karma points
    Feb 11, 2011 @ 16:59
    Connie DeCinko
    0

    I just figured it out..  seems to be a bug...  I have a master document type with several properties.  I have a content document type that inherits from master with none of it's own properties.  I make a copy of the content document type.  The resulting copy how has all of the properties of the master!  It did not make an exact copy.  Instead it made a copy of the source document type along with every document type it inherits from.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies