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

Forums / Developing with Sitefinity / Error while renaming images under files

Error while renaming images under files

5 posts, 0 answered
  1. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Oct 2010
    Link to this post
    Hi
    We are trying to rename images under files. It is throwing an error as below.

    Server Error in '/' Application.

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

    Parameter name: index

    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: index

     

    Source Error:

     

    [No relevant source lines]

     

    Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\ccccc89e\b98ff982\App_Web_43rzyhrg.12.cs    Line: 0

     

    Could you please give any solution.

    Thanks,

    Karnan


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Oct 2010
    Link to this post
    Hello karnan,

    Could you try to delete the temp files generated by ASP.NET and try to rename an item.

    Best wishes,
    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. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Oct 2010
    Link to this post
    Hi Ivan Dimitrov

    You mean to say to delete files under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
    and also i am trying to reproduce the error it is not happening now.


    Thanks,
    Karnan
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Oct 2010
    Link to this post
    Hi karnan,

    Yes, delete the temp files, add the project to Visual Studio and "clean" the solution. Build the project and see whether the error will appear.

    Sincerely yours,
    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
  5. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Oct 2010
    Link to this post
    Hi Ivan Dimitrov,
    Thank you, Sometimes it works and sometimes it is not working Without doing   "add the project to Visual Studio and "clean" the solution". is it that a temp fix?

    Thanks,
    Karnan
Register for webinar
5 posts, 0 answered