In CRM 2011, While merging some customization we were getting error that OptionSetId Can not be changed.
OptionSetId cannot be changed. EnumAttributeInfo.AttributeDescription.OptionSetId(2806db8c-368a-42d5-8cdd-b3d3538580de) != ab8567b8-9e4e-e411-af60-080027314af2
- For Fixing error first we need to find the optionset that’s changed. (In SQL Server Management studio run “select name from optionsetview where optionsetid = ‘ab8567b8-9e4e-e411-af60-080027314af2’” where highlighted part is second guid in error)
- Remove dependencies in CRM like field on form, views and then delete optionset field.
- Re-import solution.
This I had to do couple of times as there were multiple optionsets that were deleted and recreated.
Thanks to Becky Cote for the solution.