Customer Engagement & Dynamics CRM Forum

 View Only

Prepare Client Customization Fail

  • 1.  Prepare Client Customization Fail

    GOLD CONTRIBUTOR
    Posted Jul 22, 2019 10:35 AM
    Hi All,

    We are using CRM 2016 On-Prem and are experiencing issues when login into the Mobile App. Specifically on 4/5 downloading customization step.

    I decided to use Prepare Client Customization in hopes that users wont spend time downloading customization and was presented with a query builder error as shown below. Please note that the entity name listed below was part of a managed solution that was deleted.

    I also see the same error for the tablet app, instead it lists a new entity. Both were part of the managed solution.

    English customizations failed for the tablet app.

    [CrmException: The entity with a name = 'cdi_emailevent' was not found in the MetadataCache.]
                  
    ===========================================================================================================
    English customizations failed for the mobile phone app.

    [CrmException: The entity with a name = 'cdi_emailsend' was not found in the MetadataCache.]
    at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
    at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataControlConfigurationSourceRetriever.GetObjectModelsByQuery(String sourceId, String associatedEntityLogicalName)
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.UpdateApplicationMetadataToRegenerate(ApplicationMetadataRecord amr, List`1 applicationMetadataToRegenerate)
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.PreProcessLoadedApplicationMetadataRecords(IEnumerable`1 applicationMetadataRecords)
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RetrieveApplicableRecords(IEnumerable`1 changedApplicationMetadataRecords, ApplicationMetadataUserContext previousUserContext, ApplicationMetadataLock applicationMetadataLock, DateTime syncTime)
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.PrepareApplicationMetadata(Int32 userLanguageCode, DateTime lastUserSyncTime, ApplicationMetadataUserContext previousUserContext, PreparedApplicationMetadata preparedApplicationMetadata, Dictionary`2 applicationMetadataLocks)
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.PrepareClientCustomizations(Int32 languageCode, Int32 formFactor)

    [CrmException: The entity with a name = 'cdi_emailsend' was not found in the MetadataCache.]
    at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.PrepareClientCustomizations(Int32 languageCode, Int32 formFactor)
    at Microsoft.Crm.Application.WebServices.SystemCustomization.ClientCustomizationsPrepare.Execute(Int32 lcid, Int32 formFactor)
    at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomizationHandler.ProcessRequestInternal(HttpRequest request)
    at Microsoft.Crm.Application.AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     Has anyone seen this error before and if is there a solution.

    ------------------------------
    Krishna Jacques
    CRM Specialist
    Rumsey Electric Company
    conshohocken PA
    ------------------------------


If you've found this thread useful, dive deeper into User Group community content by role