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

Forums / General Discussions / Multiple controls with the same ID error

Multiple controls with the same ID error

3 posts, 0 answered
  1. Justin
    Justin avatar
    9 posts
    Registered:
    29 Jul 2013
    09 Aug 2013
    Link to this post
    I have a local version of Sitefinity 6.1 so I can develop a custom payment processor plugin. It was working just fine until I tried to edit a product yesterday and I got this error:

    Multiple controls with the same ID 'ecommrcPrdctsCntView$productsBackendMaster$ctl00$ctl00$sidebar$languages' were found. Trace requires that controls have unique IDs.

    I have no idea what caused this error. Can someone help me figure out how to fix this or what is causing this so I can fix it in the future?

    Trace:
    [HttpException (0x80004005): Multiple controls with the same ID 'ecommrcPrdctsCntView$productsBackendMaster$ctl00$ctl00$sidebar$languages' were found. Trace requires that controls have unique IDs.]
    System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize, Int32 controlStateSize) +739
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +416
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +499
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4549
  2. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    14 Aug 2013
    Link to this post
    Hi,

    Thank you for contacting us.

    We have encountered a similar problem before, which was caused by enabled trace logging in the web.config file. Would it be possible to check if you have that enabled and if you do, remove the following lines from your web.config:

    <system.web>
      
      <trace enabled="true" …

    Thank you in advance.

    Regards,
    Atanas Valchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Justin
    Justin avatar
    9 posts
    Registered:
    29 Jul 2013
    14 Aug 2013 in reply to Atanas Valchev
    Link to this post
    Hey Atanas,

    That was the problem. Thanks for the suggestion.

    How do I trace any custom modules in sitefinity? I'm new to ASP.net and can't quite figure it out. For debugging I have just been throwing exceptions and reading whatever I output in VisualStudio. Is there a better way of doing this that wont stop the execution?
3 posts, 0 answered