Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist

Posted on by 2
Dynamics 365 v9 Error when installing blank organization : CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist
 
 
[2024-01-27 13:34:01.920] Process:Microsoft.Crm.Setup.Server |Organization:00000000-0000-0000-0000-000000000000 |Thread:   11(ProgressPage-ProcessingMethod) |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 5ee652fc-aea6-4e14-af5b-9756fa7b331b | CrmDBObjectNotFoundException..ctor  ilOffset = 0x2C
    at CrmDBObjectNotFoundException..ctor(String tableName, String columnName, Object id)  ilOffset = 0x2C
    at CrmKey.LoadExistingKey(Guid crmKeyId, LocatorServiceContext locatorServiceContext)  ilOffset = 0xD5
    at CrmKey.GetActiveKey(CrmKeyType keyType, Guid scaleGroupId, Boolean useCachedValues, String& algorithm, LocatorServiceContext locatorServiceContext)  ilOffset = 0x4
    at StaticFileVersionCacheLoader.FetchGeneralStaticVersion()  ilOffset = 0x95
    at BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)  ilOffset = 0x9
    at CrmUri.set_UseVersionStamp(Boolean value)  ilOffset = 0x18
    at CrmUri..ctor(String uri, String organizationName, Boolean useWebResourcesVersion, IOrganizationContext context)  ilOffset = 0xA0
    at IconUtil.CreateUri(String format, String encodedSuffix)  ilOffset = 0x0
    at IconUtil.GetIconPath(Int32 objectTypeCode, IconType iconType, Boolean cache, String suffix, IOrganizationContext context)  ilOffset = 0x86
    at IconUtil.GetIconPath(Int32 objectTypeCode, IconType iconType, Boolean cache, IOrganizationContext context, Nullable`1 subcode)  ilOffset = 0x66
    at NewRecordMenuBuilderBase.GetNewEntityIconPathInternal(DynamicMetadataCache metadataCache, String entityLogicalName, IconType iconType)  ilOffset = 0x0
    at ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)  ilOffset = 0x2E
    at NewRecordMenuBuilderBase.GetNewEntityIconPath(String entityLogicalName, IconType iconType)  ilOffset = 0x39
    at NewActivityMenuBuilder.AddNewActivityButton(EntityMetadata activityMetadata, Controls menuControls, ICollection`1 commands, Int32 buttonSequence, String tooltipDescriptionResourceString)  ilOffset = 0xFA
    at NewActivityMenuBuilder.AddNewActivityButtons(Menu menu, ICollection`1 commands, ICollection`1 activities, Int32 menuSectionSequence, Int32 menuSectionIndex)  ilOffset = 0xBC
    at NewActivityMenuBuilder.BuildActivitiesMenu()  ilOffset = 0x174
    at NewRecordMenuBuilderBase.get_CommandDefinitions()  ilOffset = 0x6
    at RibbonDescription.AddDynamicMenuCommandsAndScripts(RibbonTabCommandMap mapping, String entityLogicalName, DynamicMenuInformation dynamicMenuInformation, RibbonTabInformation tabInformation)  ilOffset = 0x48
    at RibbonDescription.AddCommandsForTab(String tabIdForFetch, String entityLogicalName, RibbonTabInformation tabInformation)  ilOffset = 0x7B
    at RibbonDescription.AddCommandsForTab(RibbonTabInformation tabStruct)  ilOffset = 0x0
    at RibbonDescription.AddTabs()  ilOffset = 0x9A
    at RibbonDescription..ctor(RibbonPageContext pageContext, IOrganizationContext context, Boolean excludeTabs, IMenuBuilderFactory menuBuilderFactory)  ilOffset = 0x81
    at RibbonXml.GetCommandBarPieces(RibbonPageContext pageContext, Int32 languageCode, Boolean isForModern, IOrganizationContext context, Dictionary`2 commands, Dictionary`2 rules, Dictionary`2 displayRules, IMenuBuilderFactory menuBuilderFactory, IDictionary`2 requiredLocLabels, ConcurrentDictionary`2 columnNameToObjectId, Boolean isReplaceLocalString, Dictionary`2 jsDependencies, Dictionary`2 resxDependencies)  ilOffset = 0x0
    at RibbonXml.GetCommandBarSimpleJson(RibbonPageContext pageContext, Int32 languageCode, IOrganizationContext context, IMenuBuilderFactory menuBuilderFactory, ConcurrentDictionary`2 dependentWebResourceIds, Boolean isReplaceLocalString)  ilOffset = 0x1F
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x16
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x6C
    at RibbonClientMetadataService.GetCommandBarJson(String entityLogicalName, String ribbonContext, List`1 webResources, List`1 resourceLabels, List`1 locLabels, ExecutionContext context)  ilOffset = 0x11D
    at RibbonClientMetadataService.CreateOrUpdateAndGetDependencies(String entityLogicalName, String ribbonContext, List`1 webResources, List`1 resourceLabels, List`1 locLabels, ExecutionContext context)  ilOffset = 0x17
    at RibbonClientMetadataHelper.GenerateDependentComponentsForSingleRibbonContext(String entityLogicalName, String ribbonContext, ExecutionContext context)  ilOffset = 0x3D
    at RibbonClientMetadataHelper.GenerateDependentComponentsForEntityRibbon(String entityLogicalName, ExecutionContext context)  ilOffset = 0x14
    at RibbonClientMetadataHelper.GenerateRibbonMetadataForAllEntities(ExecutionContext context)  ilOffset = 0x29
    at InstallRibbonClientMetadataAction.Do(IDictionary parameters)  ilOffset = 0x33
    at CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)  ilOffset = 0x12D
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at <>c__DisplayClass83_0.<DoAction>b__0()  ilOffset = 0x58
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at <>c__DisplayClass67_0.<Install>b__0()  ilOffset = 0xA8
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at OrganizationOperation.Install(IDictionary stateSaver)  ilOffset = 0xEA
    at OrganizationCreator.Install(IDictionary stateSaver)  ilOffset = 0xB
    at ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)  ilOffset = 0x17
    at ComposedInstaller.InternalInstall(IDictionary stateSaver)  ilOffset = 0xAE
    at ComposedInstaller.Install(IDictionary stateSaver)  ilOffset = 0x29
    at ServerSetup.Install(IDictionary data)  ilOffset = 0x86
    at SetupBase.ExecuteOperation()  ilOffset = 0x3A
    at ProgressPage.ProcessingMethodWrapper()  ilOffset = 0x0
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x79
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
>Crm Exception: Message: CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist, ErrorCode: -2147220969
[2024-01-27 13:34:01.920] Process:Microsoft.Crm.Setup.Server |Organization:00000000-0000-0000-0000-000000000000 |Thread:   11(ProgressPage-ProcessingMethod) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 5ee652fc-aea6-4e14-af5b-9756fa7b331b | RibbonClientMetadataHelper.GenerateDependentComponentsForSingleRibbonContext  ilOffset = 0x3D
    at RibbonClientMetadataHelper.GenerateDependentComponentsForSingleRibbonContext(String entityLogicalName, String ribbonContext, ExecutionContext context)  ilOffset = 0x3D
    at RibbonClientMetadataHelper.GenerateDependentComponentsForEntityRibbon(String entityLogicalName, ExecutionContext context)  ilOffset = 0x14
    at RibbonClientMetadataHelper.GenerateRibbonMetadataForAllEntities(ExecutionContext context)  ilOffset = 0x29
    at InstallRibbonClientMetadataAction.Do(IDictionary parameters)  ilOffset = 0x33
    at CrmAction.ExecuteActionHelper(CrmAction action, IDictionary parameters, Boolean undo)  ilOffset = 0x12D
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at <>c__DisplayClass83_0.<DoAction>b__0()  ilOffset = 0x58
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at <>c__DisplayClass67_0.<Install>b__0()  ilOffset = 0xA8
    at ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)  ilOffset = 0x49
    at XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)  ilOffset = 0x12
    at OrganizationOperation.Install(IDictionary stateSaver)  ilOffset = 0xEA
    at OrganizationCreator.Install(IDictionary stateSaver)  ilOffset = 0xB
    at ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)  ilOffset = 0x17
    at ComposedInstaller.InternalInstall(IDictionary stateSaver)  ilOffset = 0xAE
    at ComposedInstaller.Install(IDictionary stateSaver)  ilOffset = 0x29
    at ServerSetup.Install(IDictionary data)  ilOffset = 0x86
    at SetupBase.ExecuteOperation()  ilOffset = 0x3A
    at ProgressPage.ProcessingMethodWrapper()  ilOffset = 0x0
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x79
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
  • CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist

    Anybody know what's the problem ?

    Thank

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans