When trying to export and/or publish, I ran into this issue this week:
Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Stack trace:
[NullReferenceException: Object reference not set to an instance of an object.] at Microsoft.Crm.ObjectModel.OrganizationUIService.LabelLoaderAllLanguages.LoadMetadataLabel(Int32 entityType, String attributeName, ExecutionContext context) at Microsoft.Crm.ObjectModel.OrganizationUIService.LabelLoader.LoadCellLabel(Guid cellObjectId, String cellObjectColumnName, Int32 objectType, String attributeName, ExecutionContext context) at …..
After doing some digging, I found this article:
For some reason, we have an issue where something has been deleted from CRM but a reference it still exists somewhere: on the form, a view, etc. Maybe you deleted the item on purpose or maybe you are moving customizations between servers and you didn’t get all of the referenced entities when you exported.
It’s a little hard to track down sometimes, but you can see things like this on your form:
Or you’ll see the yellow warning symbol on a view column within the View Designer.
Good luck.







