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
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!


Direct link Reply with quote
 

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

Thanks for sharing this, Popie!

Eduardo


Direct link Reply with quote
 

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

Thanks for sharing!

Direct link Reply with quote
 


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







SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »



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