Error: Arg Exception - Item has already been added
JoshCrosby
Posts: 8
Have a problem with my program, i wrote a command prompt program to script the databases on a server. it's pretty much based off of one the samples.
Everything works great until i get to one of my servers it blows up and throws an error "Item has already been added". the only diference between this server and the others is this one is in Binary.
Has anyone seen this before?
Thanks :lol:
Everything works great until i get to one of my servers it blows up and throws an error "Item has already been added". the only diference between this server and the others is this one is in Binary.
Has anyone seen this before?
Thanks :lol:
Josh Crosby
This discussion has been closed.
Comments
Thanks for your post. The first thing I would try is to use the 'treat items as case sensitive' option when registering the second database. This will prevent items that have the same case-insensitive name from being indexed by name and causing the duplicate key error.
You can enable this option in a Toolkit project by bitwise OR-ing it to the default comparison options like so: