Red Gate forums :: View topic - An item with the same key has already been added.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 2
SQL Source Control 2 forum

An item with the same key has already been added.

Search in SQL Source Control 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
hyperdata



Joined: 04 Apr 2011
Posts: 1

PostPosted: Mon Apr 04, 2011 4:35 pm    Post subject: An item with the same key has already been added. Reply with quote

Getting this messge below, when we try to connect to a database.
"An item with the same key has already been added."

How can we correct/fix/workaround this?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Mon Apr 04, 2011 6:44 pm    Post subject: Reply with quote

A common cause for this is if you have more than one file referencing the same object. The extra details on the error may well indicate which object is the cause.
Did you manually amend any of the files in your source control repository? Such as making a copy of some of the files for backup purposes?

Another potential is if you have objects named the same apart from their case (upper/lower etc) and you're not using a case sensitive collation.

Hope that helps - contact us directly at support if you get stuck!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group