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
Popie Matsouka
Greece
Local time: 05:01
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 p
... See more
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!
Collapse


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

Thanks for sharing this, Popie!

Eduardo


 
Anmol
Anmol
Local time: 07:31
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.







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »