+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Error Adding Sitemapds

Error Adding Sitemapds

2 posts, 0 answered
  1. Paul Berger
    Paul Berger avatar
    61 posts
    Registered:
    03 Apr 2006
    27 Feb 2007
    Link to this post
     

    Server Error in '/HappenWeb3RC' Application.

    Multiple controls with the same ID 'SiteMapDataSource1' 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 'SiteMapDataSource1' 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 'SiteMapDataSource1' were found. FindControl requires that controls have unique IDs.]
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +220
       System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +280
       System.Web.UI.Control.EnsureNamedControlsTable() +57
       System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +106
       System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289
       System.Web.UI.Page.FindControl(String id) +40
       System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +252
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3776
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
  2. Bob
    Bob avatar
    330 posts
    Registered:
    24 Sep 2012
    27 Feb 2007
    Link to this post
    Hello Paul,

    Sorry for the inconvenience, this is a known issue and will be fixed. The reason is that the design time host does not take controls added directly to the master page into account and gives duplicate ID. The workaround is to either give a different ID for the SiteMapDataSource control or remove or change the ID of the one in the master page.

    Kind regards,
    Bob
    the telerik team
2 posts, 0 answered