Hakan
Hakan

Reputation: 1

What is the reason of "An item with the same key has already been added." message in vs?

I am using Devexpress' DevExpress.XtraReports.UI.XtraReport component. And in vs2008 pro sp1, when i try to add a dataset to the report, it waits a while and then says:"Error message: An item with the same key has already been added". What might be the possible reasons with this problem and how to fix this?

Upvotes: 0

Views: 2040

Answers (1)

s_hewitt
s_hewitt

Reputation: 4302

Something in the report is using a Hashtable where the Key it is using for the Hashtable is added twice. Possibly your dataset has a column that is being used as a key, and has data in it that is not unique?

Upvotes: 1

Related Questions