Sitecore 7: Troubleshooting: startIndex cannot be larger than length of string.

Problem:

I stepped i to this error while creating a Package in sitecore. I selected only a big subtree of Database items and no files.

startIndex cannot be larger than length of string.
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: startIndex cannot be larger than length of string.
Parameter name: startIndex

WORK AROUND:

If I choose a tree with many subitems, so may the start index gets too large.  My solution was to choose smaller tree parts.

Feedback Sitecore Support:

Hello,
I’m still unable to reproduce the issue at my side even with large database.
So it looks like something specific to your solution.
I suggest you to divide your data into several packages.

Note:

Always use firefox browser while installing or creating items from "package" or "serialization" because Internet Explorer gets time-out issue while installing a big package. 






Comments

  1. This really is more like a Workaround than a solution, because you're not solving anything. You still can't select a big node.

    ReplyDelete
  2. Thanks a lot for this Comment. I changed it to Workaround! Till now I have no solution. MAybe we should raise a ticket on Sitecore Support!

    ReplyDelete

Post a Comment

a new comment