Page 1 of 1

Error: An item with the same key has already been added.

Posted: Thu 14 May 2009 16:46
by skingaby
I am using v2.0.18.
When I select to validate my model, I get an error: An item with the same key has already been added.
How can I figure out what the problem with the model is?
Thanks,
Simon

Problem went away

Posted: Thu 14 May 2009 17:33
by skingaby
I started a new model and added everything again but this time it worked properly.

Posted: Wed 02 Dec 2009 21:16
by skingaby
I just broke the EDML file somehow and am now getting this error. How can I figure out where this error is coming from. Thanks.

Posted: Thu 03 Dec 2009 09:41
by AndreyR
Could you please send the broken .edml file to us?

Posted: Fri 04 Dec 2009 00:54
by skingaby
Found it. Somehow, when adding and removing and re-adding an object in the Designer (yours, not MS), the EDML duplicated the tag in here:















I finally found the error and when I removed the extra tag everything worked properly again.

Posted: Fri 04 Dec 2009 12:16
by AndreyR
We had this problem in the previous version of Entity Developer.
I have just tried to add, remove, and add again the related object, and everything went OK.
If the problem persists with the latest version, please post some steps to reproduce the error.

Posted: Wed 09 Dec 2009 03:47
by skingaby
I was working with 2 versions of 2 different products on 2 machines, including your product, trying to fix a domain model problem. It is entirely conceivable that I opened the EDML in the wrong one and corrupted it. I am just glad I found/fixed it.