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

Forums / Bugs & Issues / Index was out of range. Must be non-negative and less than the size of the collection.

Index was out of range. Must be non-negative and less than the size of the collection.

2 posts, 0 answered
  1. Pascal
    Pascal avatar
    9 posts
    Registered:
    22 Nov 2010
    02 Apr 2014
    Link to this post

    Having a strange problem. I have some modules in the modul builder if i attempt to click on one module  (and open) I get ' the following Error Message:

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: startIndex
     

    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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: startIndex

    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:

    [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: startIndex]
       System.Text.StringBuilder.Replace(String oldValue, String newValue, Int32 startIndex, Int32 count) +14584152
       Telerik.Sitefinity.DynamicModules.Builder.Web.UI.ContentTypesMasterView.GetFieldsText(Guid contentTypeId) +822
       Telerik.Sitefinity.DynamicModules.Builder.Web.UI.ContentTypesMasterView.ContentTypesRepeater_ItemDataBound(Object sender, RepeaterItemEventArgs e) +226
       System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +199
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +627
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +163
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Control.PreRenderRecursiveInternal() +256
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4048
    

    need urgent help how to bypass and solve the problem

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    04 Apr 2014
    Link to this post
    Hi Pascal,

    This error seems related to one of the fields in that Module. I would suggest you to open a support ticket in order to investigate the issue in details.

    Regards,
    Svetoslav Manchev
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered