This project is read-only.

Error When Adding More Than One Clock

Apr 12, 2011 at 7:32 PM

I get the error below when trying to add more than one clock on the webpart:

 

Server Error in '/' Application.

Multiple controls with the same ID 'clockFrame' 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 'clockFrame' 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 'clockFrame' were found. FindControl requires that controls have unique IDs.]
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +273
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
System.Web.UI.Control.EnsureNamedControlsTable() +61
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +222
System.Web.UI.Control.FindControl(String id) +12
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +443
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +310
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +310
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +310
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +310
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.RecursiveFindControl(Control control, String id) +310
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.OnPreRender(EventArgs e) +380
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842