Crm Exception: Message: Default picklist value has to be one of the option values., ErrorCode: -2147220989, InnerException: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: Default picklist value has to be one of the option values.

Hi,

We were getting the above error while trying to import our default unmanaged solution from development environment to our staging environment.

It was giving the error for one of the custom entities. But there were no option sets (picklist fields) in that entity. There was one “two options” (bit) field in the entity. Deleting that field from the target staging environment and then retrying the import worked in our scenario.

Hope it helps.


Author: Nishant Rana

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

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