Studio 2009: Index was out of range. Must be non-negative and less than the size of the collection.
Thread poster: Popie Matsouka

Popie Matsouka
Member (2011)
English to Greek
+ ...
Sep 3, 2011

Hello everyone,
I'm sure many of you have stumbled across this error while working with Studio 2009:
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
I have just found a solution, and thought about posting it here, in case anyone needs it, for future reference.

The problem with the set of files I was working with, was that the path for the entire project structure was too long.
I opened an sdlppx package and created a folder structure as usual. Then, when I tried to create a separate package from those, to send to a colleague of mine who would be working on half the project with me, I could not create it, because I got the message "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
Turns out, one of the paths for the project structure was too long. I don't know which one, but when I moved the entire structure to a much "shallower" folder on my computer, the entire thing worked fine.

So, for future reference, keep in mind to work with small paths, when it comes to folder structures.
I've tested it repeatedly, and found that this problem pops up even when you try to save target files, or perform an analysis, or any other task you can do with Trados, so keep it in mind that it might be because of a too long path/depth of file structure.
Hope this helps someone!


 

Eduardo García Soñanes
Mexico
Local time: 09:53
English to Spanish
Thanks! Oct 3, 2012

Thanks for sharing this, Popie!

Eduardo


 

Anil Gidwani  Identity Verified
India
Local time: 20:23
German to English
+ ...
Thanks Mar 15, 2016

Thanks for sharing!

 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

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

Advanced search







memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »
SDL Trados Studio 2017 only €435 / $519
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search