Tuesday, September 28, 2010

CRM Migration Error :
Microsoft.Crm.CrmException: Found no feature for Organization with Id

Hello Everyone,

Today while migrating CRM 4.0 to CRM 2011. I found very interesting issue. The Error which got caught in the Log was something like
Microsoft.Crm.CrmException: Found no feature for Organization with Id
After searching intensely, I found the root cause for the above error faced during Migration.

Note: This error will come only if your Migration has been failed once before due to some other reason.

Solution:
     The root cause for this error is the records for the failed Organization which gets inserted in the below tables of MSCRM_CONFIG database.

  • OrganizationProperties
  • SystemUserOrganizations
  • OrganizationFeatureMap
  • Organization

Delete all the records having references for the Failed Organization from these tables and then again start your migration process.

Yipeee.... After this you will get rid of the above error.... J

Feel free to post your queries/comments if any regarding the CRM Migration.

Thanks... J

2 comments:

  1. Hi,

    Just attempted a migration from 4 to 2011 and got the following error, does this rings a bell for you?
    "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Updating Lead.address1_country.Length but it's not valid for update. Original value:160. New value:100"
    When checking in the custo the field size is 50 not 80....

    ReplyDelete
  2. Hi,
    Please check out which latest Update Rollup is currently installed on your CRM 4.0 server.

    If you have UR14 installed, kindly uninstall the same and then proceed with the migration because in UR14, the length of City and Country field for Lead Entity is increased from 50 to 80 where as CRM 2011 still refers the old length 50 for these fields.

    ReplyDelete