Current language is swedish and I want to enable english but when I am trying to enable the new language it loads for a couple of minutes and then greets me with "Record is Unavailable" error message. I have both System administrator and System Customizer roles.
This is from the logfile:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The specified object was not found.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>73747722-a899-41ec-bd5d-93eb34a77a11</ActivityId>
<ErrorCode>-2147220969</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.WebServices.LangProvisioningService</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: The specified object was not found. ---> Microsoft.Crm.CrmException: The specified object was not found.
at Microsoft.Crm.ObjectModel.LabelLoaderNotPublished.LoadMetadata(Int32 objectTypeCode, ExecutionContext context)
at Microsoft.Crm.ObjectModel.LabelLoaderNotPublished.LoadAttributeLabel(Int32 entityType, String attributeName, ExecutionContext context)
at Microsoft.Crm.ObjectModel.FormLabelHelper.ProcessCells(Int32 entityType, ILabelLoader labelLoader, ILocalizedLabelService labelService, Dictionary`2 cellLabelDictionary, ExecutionContext context)
at Microsoft.Crm.ObjectModel.FormLabelHelper.ExtractAndSaveFormLabels(XmlDocument formDoc, Boolean isCreate, String oldFormXml, Boolean extractUnchangedLabels, Nullable`1 objectTypeCode, ExecutionContext context, Nullable`1 langCode)
at Microsoft.Crm.ObjectModel.FormLabelHelper.ExtractAndSaveFormLabels(Guid formId, XmlDocument formDoc, Boolean isCreate, Int32 objectTypeCode, ExecutionContext context, Nullable`1 langCode)
at Microsoft.Crm.ObjectModel.SystemFormService.UpdateFormLabels(Guid formId, String formXml, Int32 objectTypeCode, ExecutionContext context, Nullable`1 langCode)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ProcessFormXml(XmlDocument dom, Int32 language, MetadataHelper metadataHelper, Boolean reprovision, Boolean isSystemSolution)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ProvisionMetadataHelperDependentComponents(Int32 language, String basePath, XmlDocument newImportDom, XmlDocument newMasterImportDom, MetadataHelper metadataHelper, Boolean reprovision, Guid currentSolutionId)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.<>c__DisplayClass88_2.<ProvisionAllInternal>b__1()
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ExecuteInSolutionContextIfAvailable(Guid solutionId, String solutionName, String componentType, Int32 language, Action action, SolutionOperationContext solutionContext)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ProvisionAllInternal(Boolean reprovision, Int32 language, String versionInMuiPack, String versionInDB, String crmVersion, OrganizationLanguagePackService langService, PropertyBag propertyBag)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ProvisionAll(Dictionary`2 allLanguages, Int32 language, OrganizationLanguagePackService langService, String versionInDB, String versionInMUIPack, PropertyBag propertyBag)
at Microsoft.Crm.Tools.LangProvisioning.LanguageActivation.ProvisionLanguage(Int32 language)
at Microsoft.Crm.WebServices.LangProvisioningService.ProvisionLanguage(Int32 language, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">f54f3c77-4a51-4fda-a571-faf8046c5063</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">73747722-a899-41ec-bd5d-93eb34a77a11</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>0</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Unknown object type code: 10004</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>The specified object was not found.</Message>
<Timestamp>2018-01-16T10:21:02.8249414Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
*This post is locked for comments
Hello David,
I am facing the same error. Can u please help me out.
Regards.
Thanks, yeah its online and im afraid I will have to do that. Hopefully they will have an solution.
Hello,
If you're online I'm afraid the only option for you is to get in touch with Microsoft and open support ticket.
If you're onprem you can turn on tracing, restart iis and repeat an error, then check logs. support.microsoft.com/.../how-to-enable-tracing-in-microsoft-dynamics-crm
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156