An item with the same key has already been added error while importing solution in CRM 2013

Hi,

Recently while importing a solution from dev environment to test environment we were getting this error.

This error occurs when we have some kind of mismatch among the attribute in both the environment for e.g. same attribute is created in both the environment with different datatype.

After comparing the dev and test environment, we realized that the Schema Name for one of the field was different in dev environment.

i.e. lss_Client_agress_to_LSSContract in test and lss_client_agress_to_lsscontract in dev

So we removed the field from form and deleted it in our dev environment.

After that import worked properly.

Hope this helps


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

5 thoughts on “An item with the same key has already been added error while importing solution in CRM 2013”

  1. How will check which field is having upper or lower case issue?. In my case error is saying SQL error occurred..So it means there is upper or lower case issue.. How to know which field is that..

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s