Upgraded ORG not accessible via CRM for tablets app

Question Status

Verified
Simon Trejtnar asked a question on 21 Jan 2015 9:44 AM

When deploying a new organisation from CRM 2015 deployment manager I am able to successfully access it via CRM for tablets on Ipad and win 8/8.1

When I import and upgrade and organisation from CRM 2013 I am unable to access it via CRM for tablet.

The CRM organsistion is accessible via table apps on crm 2013 prior to backup an import on crm 2015

Reply
Suggested Answer
Magor Kovacs responded on 21 Jan 2015 10:02 AM

Hello Simon,

Are the orgs accessible in the web client? What is the error message you get when attempting to access the orgs?

Reply
Simon Trejtnar responded on 22 Jan 2015 1:54 AM

Hi Magor,

Yes the Orgs are accessible via web and outlook clients.

The error message is: 'sorry, something went wrong while initializing the app, Please try again or restart the app.

I have checked for the suggested fixes to the this problem already.  As previously mentioned the Org in question was previously working with tablet client on crm2013 and new tenants on the same CRM 2015 deployment do work where as imported ones don't.

Regards,

Simon    

Reply
Suggested Answer
Magor Kovacs responded on 22 Jan 2015 2:24 AM

Any chance you could perform a tracing on the mobile client and post the relevant results? Please find the steps on how to that, here: technet.microsoft.com/.../hh699694.aspx

Reply
Simon Trejtnar responded on 22 Jan 2015 2:46 AM

Hi Magor,

I've posted what i consider to be the relevant section of the trace

It seems that a metadata refresh is failing.

'[INFO]: [PAL] | Error occured during complete refresh of Application/Entity/Attribute metadata. Error Message:

System.ArgumentException: Cannot load resource that matches "query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label" identifier.

Parameter name: name

'

2015-01-21 14:46:39 +0000 [VERBOSE]: Performing callback | executeSqlBatch$a.$58.$fe216, {

   dispatcherCallContext = "<DispatcherCallContext: 0x17778360>";

   sqlBatchResult = "<SQLiteBatchResult: 0x15d2c120>";

}, 1

2015-01-21 14:46:42 +0000 [VERBOSE]: Start event | ParseArgs

2015-01-21 14:46:42 +0000 [VERBOSE]: End event | ParseArgs, 0.528991

2015-01-21 14:46:42 +0000 [VERBOSE]: Callbacks | {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Attempting to call method | .v

SR.Ûä'µÜݙâz‹¹ƒ§4ë‚;0˜&®‡ÿ, Logging, logMessage, Version1, {

   dispatcherCallContext = "<DispatcherCallContext: 0x1b058960>";

   level = 1;

   message = "Error Message:System.ArgumentException: Cannot load resource that matches \"query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label\" identifier.

\nParameter name: name

\n   at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)

\n   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)

\n   at Microsoft.Crm.Application.Controls.GridUtility.GetColumnsFromLayoutXml(IXPathNavigable layoutXml, EntityMetadata primaryEntity, Boolean hasRelatedEntityColumns, String gridId, Boolean isGridFilteringEnabled)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataFetchXmlConverter.Convert(ApplicationMetadataSourceObjectModel source)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RegenerateApplicationMetadataRecords(IEnumerable`1 sourceObjectModels, Boolean createOrUpdateInDb)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.Sync(ApplicationMetadataSyncRequest applicationMetadataSyncRequest)";

}, {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Dispatcher found | <LoggingDispatcher: 0x15e99f90>

2015-01-21 14:46:42 +0000 [VERBOSE]: Calling method | logMessage, Version1, {

   dispatcherCallContext = "<DispatcherCallContext: 0x1b058960>";

   level = 1;

   message = "Error Message:System.ArgumentException: Cannot load resource that matches \"query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label\" identifier.

\nParameter name: name

\n   at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)

\n   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)

\n   at Microsoft.Crm.Application.Controls.GridUtility.GetColumnsFromLayoutXml(IXPathNavigable layoutXml, EntityMetadata primaryEntity, Boolean hasRelatedEntityColumns, String gridId, Boolean isGridFilteringEnabled)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataFetchXmlConverter.Convert(ApplicationMetadataSourceObjectModel source)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RegenerateApplicationMetadataRecords(IEnumerable`1 sourceObjectModels, Boolean createOrUpdateInDb)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.Sync(ApplicationMetadataSyncRequest applicationMetadataSyncRequest)";

}, {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Calling registered method | logMessage

2015-01-21 14:46:42 +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)

2015-01-21 14:46:42 +0000 [VERBOSE]: Start event | ParseArgs

2015-01-21 14:46:42 +0000 [VERBOSE]: End event | ParseArgs, 0.546992

2015-01-21 14:46:42 +0000 [VERBOSE]: Callbacks | {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Attempting to call method | .v

SR.Ûä'µÜݙâz‹¹ƒ§4ë‚;0˜&®‡ÿ, Logging, logMessage, Version1, {

   dispatcherCallContext = "<DispatcherCallContext: 0x17784580>";

   level = 1;

   message = "Error occured during complete refresh of Application/Entity/Attribute metadata. Error Message:\nSystem.ArgumentException: Cannot load resource that matches \"query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label\" identifier.

\nParameter name: name

\n   at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)

\n   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)

\n   at Microsoft.Crm.Application.Controls.GridUtility.GetColumnsFromLayoutXml(IXPathNavigable layoutXml, EntityMetadata primaryEntity, Boolean hasRelatedEntityColumns, String gridId, Boolean isGridFilteringEnabled)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataFetchXmlConverter.Convert(ApplicationMetadataSourceObjectModel source)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RegenerateApplicationMetadataRecords(IEnumerable`1 sourceObjectModels, Boolean createOrUpdateInDb)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.Sync(ApplicationMetadataSyncRequest applicationMetadataSyncRequest)";

}, {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Dispatcher found | <LoggingDispatcher: 0x15e99f90>

2015-01-21 14:46:42 +0000 [VERBOSE]: Calling method | logMessage, Version1, {

   dispatcherCallContext = "<DispatcherCallContext: 0x17784580>";

   level = 1;

   message = "Error occured during complete refresh of Application/Entity/Attribute metadata. Error Message:\nSystem.ArgumentException: Cannot load resource that matches \"query.DC35F396-6A35-4b3f-BE27-3F2F7BD9D8C4.cell.opportunityroleidname.label\" identifier.

\nParameter name: name

\n   at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name, CultureInfo culture, IOrganizationContext context)

\n   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)

\n   at Microsoft.Crm.Application.Controls.GridUtility.GetColumnsFromLayoutXml(IXPathNavigable layoutXml, EntityMetadata primaryEntity, Boolean hasRelatedEntityColumns, String gridId, Boolean isGridFilteringEnabled)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataFetchXmlConverter.Convert(ApplicationMetadataSourceObjectModel source)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadata.ApplicationMetadataSourceRetrieverBase.RegenerateApplicationMetadataRecords(IEnumerable`1 sourceObjectModels, Boolean createOrUpdateInDb)

\n   at Microsoft.Crm.Core.Application.WebServices.ApplicationMetadataService.Sync(ApplicationMetadataSyncRequest applicationMetadataSyncRequest)";

}, {

}

2015-01-21 14:46:42 +0000 [VERBOSE]: Calling registered method | logMessage

2015-01-21 14:46:42 +0000 [INFO]: [PAL] | Error occured during complete refresh of Application/Entity/Attribute metadata. 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)

Reply
Simon Trejtnar responded on 22 Jan 2015 3:15 AM

I have disabled tablets on the opportunity and the tablet app does now configure and load.  I will continue and find the exact issue.

Reply
Verified Answer
Simon Trejtnar responded on 22 Jan 2015 9:30 AM

I found the problem to be with a view 'Opportunity Associated Extended View'

This view is not native to CRM 2013/2015

This view is Managed, I updated the savedquerybase and set IsManaged = 0 and CanBeDeleted= 1 for this view allowing me to remove it via the application.

all is now working

Reply
Suggested Answer
Stephen Noe responded on 20 Aug 2015 7:00 AM

Thanks, that pointed me in the right direction! The view was unmanaged in my CRM Online instance, so I was able to delete the view using the customization interface. My instance had originated in CRM 3.0, so it had also gone through the CRM 2011 to CRM 2013 upgrade.

Deleting the view allows the apps to initialize now.

Good job!

I posted all the details in a blog article here.

Reply
Verified Answer
Simon Trejtnar responded on 22 Jan 2015 9:30 AM

I found the problem to be with a view 'Opportunity Associated Extended View'

This view is not native to CRM 2013/2015

This view is Managed, I updated the savedquerybase and set IsManaged = 0 and CanBeDeleted= 1 for this view allowing me to remove it via the application.

all is now working

Reply
Suggested Answer
Magor Kovacs responded on 21 Jan 2015 10:02 AM

Hello Simon,

Are the orgs accessible in the web client? What is the error message you get when attempting to access the orgs?

Reply
Suggested Answer
Magor Kovacs responded on 22 Jan 2015 2:24 AM

Any chance you could perform a tracing on the mobile client and post the relevant results? Please find the steps on how to that, here: technet.microsoft.com/.../hh699694.aspx

Reply
Suggested Answer
Stephen Noe responded on 20 Aug 2015 7:00 AM

Thanks, that pointed me in the right direction! The view was unmanaged in my CRM Online instance, so I was able to delete the view using the customization interface. My instance had originated in CRM 3.0, so it had also gone through the CRM 2011 to CRM 2013 upgrade.

Deleting the view allows the apps to initialize now.

Good job!

I posted all the details in a blog article here.

Reply