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: 12:34
English to Spanish
Thanks! Oct 3, 2012

Thanks for sharing this, Popie!

Eduardo


 

Anil Gidwani  Identity Verified
India
Local time: 23:04
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







SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »
BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »



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