Dynamics CRM App for Tablet issue on instances upgraded from CRM 2011

I recently went thru an annoying debugging process on a CRM instance that the CRM App for Tablets on Windows 10, Windows 8.1 and iPad IOS 8.4.1. This instance had never been able to be configured on tablets since CRM 2013. The app refused to initialize after asking for the URL, account and password. It gave the same message on both apps: “We’re sorry Sorry, something went wrong while initializing the app.  Pease try again, or restart the app.”

image

Searches for this brought back a known issue relating to CRM users who are associated with a child business units, but this was not the case here. https://support.microsoft.com/en-us/kb/2899860

That article led to a TechNet article on how to troubleshoot and enable tracing on tablets: http://www.microsoft.com/en-US/dynamics/crm-customer-center/enable-tracing-in-crm-for-tablets.aspx

I chose the iPad device for the trace, enabled tracing in settings, attempted to initialize the app, got the file from iTunes and found the following message deep in the log near the end:

2015-08-19 19:09:52 +0000 [INFO]: [PAL] | Error Message:System.ArgumentException: Cannot load resource that matches “query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label” identifier.
Parameter name: name
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)
at Microsoft.Crm.Application.Controls.GridUtility.GetColumnInfo(IXPathNavigable nodePath, EntityMetadata entityMeta, DynamicMetadataCache metadataCacheForLabels, Boolean hasRelatedEntityColumns, String relatedEntityColDisplayNameMask, Int32 langCode, String gridId, Boolean isGridFilteringEnabledForCurrentView, IOrganizationContext context)
at Microsoft.Crm.Application.Controls.GridUtility.GetColumnsFromLayoutXml(IXPathNavigable layoutXml, EntityMetadata primaryEntity, Boolean hasRelatedEntityColumns, String gridId, Boolean isGridFilteringEnabled)
at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataFetchXmlConverter.Convert(ApplicationMetadataSourceObjectModel source)
at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RegenerateApplicationMetadataRecords(IEnumerable`1 sourceObjectModels, Boolean createOrUpdateInDb)
at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.Sync(ApplicationMetadataSyncRequest applicationMetadataSyncRequest)

The highlighted pointed to this post by Simon Trejtnar: https://community.dynamics.com/crm/f/117/t/149991 which ultimately was my issue. The “Opportunity Associated Extended View” view appeared to be damaged and was not used in the instance. In my instance of CRM Online, the view was not managed, so I was able to delete the “Opportunity Associated Extended View” from the list of views in the Opportunity entity using the customization interface.

After the view was deleted, I was able to successfully configure the Dynamics CRM table app on Windows 8.1, Windows 10 and IOS devices. Thanks Simon!

I hope this helps!

Steve 2015

Stephen V Noe
Dynamics CRM Architect, SME & Trainer

Advertisements

About stephenvnoe

Dynamics CRM solution architect, consultant, trainer & project manager. I provide CRM design, services, mentoring & support to all manner of Dynamics CRM projects.
This entry was posted in Configure, CRM 2013, CRM 2015, CRM Tablet App, IOS, Windows 10, Windows 8, Workarounds & fixes. Bookmark the permalink.

Leave a Reply

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