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

Forums / Bugs & Issues / Images & Documents not working for different language

Images & Documents not working for different language

4 posts, 0 answered
  1. ravi shankar
    ravi shankar avatar
    18 posts
    Registered:
    13 Feb 2010
    13 Apr 2010
    Link to this post
    Hi Sitefinity,

    My project is developed in English and Arabic Language.

    I have created the Image Library in the English version and added some images to it.When i switch to arabic language and save the item its giving the error likeI have created the Image Library in the English version and added some images to it.When i switch to arabic language and save the item its giving the error like
    --------------------------------------------------------------------------------
     
    Index and count must refer to a location within the string.
    Parameter name: count
    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 and count must refer to a location within the string.
    Parameter name: count
     
    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:


    Note:Localization is enabled for the library
    Can u please help me to sort out this issue.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    13 Apr 2010
    Link to this post
    Hi ravi shankar,

    Could you post the stack trace of the error as well?

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. ravi shankar
    ravi shankar avatar
    18 posts
    Registered:
    13 Feb 2010
    13 Apr 2010
    Link to this post
    Parameter name: count 
    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 and count must refer to a location within the string.
    Parameter name: count
      
    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 and count must refer to a location within the string.
    Parameter name: count]
       System.String.Remove(Int32 startIndex, Int32 count) +0
       Telerik.Libraries.WebControls.Admin.LibraryItemPreview.InitializeControls(Control viewContainer) +4206
       Telerik.Cms.Web.UI.ViewModeControl`1.CreateChildControls() +155
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       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.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
      
       
      
      
    --------------------------------------------------------------------------------


    Above is the stack trace.
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    13 Apr 2010
    Link to this post
    Hello ravi shankar,

    Thank you for getting back to us.

    I am sorry to inform you, however the Images & Documents module does not support localization. You will have to turn off the localization feature of this module in order to make it work properly on a multilingual website.

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered