Advertisements

Archive

Archive for March 3, 2012

Fields that are not valid were specified for the entity – Solution Import Error in CRM 2011

March 3, 2012 2 comments

Hi,

In one of my CRM 2011 deployments when I tried to import my solution from Development to Test environment I got below error

Fields that are not valid were specified for the entity

After examining the customization changes made we came to know the actual problem.

Reason –

  • We had an attribute ‘new_abc’ that was of type “Two Options”
  • Later  we got a change request from client, that the field has to be an option set.
  • So in Development environment, we deleted the field  ‘new_abc’ of type “Two options” and created a new field again with same name ‘new_abc’ of type “Option set”.
  • When we tried to import back the new solution to test environment we got this Import failure message.

Fix :-

  • We fixed this by deleting the field in the import environment (i.e., Test environment in my case) prior to the import of new solution.
  • To avoid this problem provide different name to the newly created field

 

Hope it helps 🙂

Advertisements