Hi Rocker,
Thanks for the quick response, I did read this somewhere else. I have tried the workaround, I can create a new solution, add existing entity "Opportunities" click publish, same error, so I added sub components to customize a form but hit the same issue.:
Unknown Entity Name
The entity name doesn't exist. Please specify an existing entity name. If you contact support, please provide the technical details.
When is the next auto update, can I force one? this has but a stop to all dev work :/ not cool
Download log:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Parent of subcomponent bef86bf8-c62f-4a5c-aec8-c84303ef74e2 of type SavedQuery is not found in the metadata cache.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>1ab0b44f-8783-4da1-8797-bc612de63725</ActivityId>
<ErrorCode>-2147217150</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.ObjectModel.SolutionComponentService</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.Metadata.EntityMetadataNotFoundException: Parent of subcomponent bef86bf8-c62f-4a5c-aec8-c84303ef74e2 of type SavedQuery is not found in the metadata cache. ---> Microsoft.Crm.Metadata.EntityMetadataNotFoundException: Parent of subcomponent bef86bf8-c62f-4a5c-aec8-c84303ef74e2 of type SavedQuery is not found in the metadata cache. ---> Microsoft.Crm.Metadata.EntityMetadataNotFoundException: The entity with ObjectTypeCode = 10207 was not found in the MetadataCache. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6900850, MinActiveRowVersion=6900850
at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
at Microsoft.Crm.ObjectModel.SolutionComponentService.GetRootEntityIds(Int32 subComponentType, Guid subComponentId, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.ObjectModel.SolutionComponentService.GetRootEntityIds(Int32 subComponentType, Guid subComponentId, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddSubComponentToSolution(BusinessEntity entity, Boolean addRequiredComponents, Boolean ignoreException, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddRequiredComponentsToTheSolution(IBusinessEntity entity, BusinessEntityCollection allRoots, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.InternalAddAllSolutionComponents(IBusinessEntity entity, Boolean doNotIncludeSubcomponents, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddSubComponentToSolution(BusinessEntity entity, Boolean addRequiredComponents, Boolean ignoreException, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddSolutionComponentWithTelemetry(Boolean isSubcomponent, Boolean addRequiredComponents, SolutionComponent entity, Boolean doNotIncludeSubcomponents, ExecutionContext context, TelemetryExecutionToken executionToken, Boolean ignoreException)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddSolutionComponent(Guid componentId, Int32 componentType, Guid solutionId, Boolean addRequiredComponents, Boolean doNotIncludeSubcomponents, String[] includedComponentSettingsValues, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SolutionComponentService.AddSolutionComponentByNameWithRootComponentBehavior(Guid componentId, Int32 componentType, String solutionUniqueName, Boolean addRequiredComponents, Boolean doNotIncludeSubcomponents, String[] includedComponentSettingsValues, 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.<>c__DisplayClass2_1.<Execute>b__0()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0a59e1b8-3f13-11dd-9bde-0019b9312238</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">1ab0b44f-8783-4da1-8797-bc612de63725</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>
</ErrorDetails>
<Message>Parent of subcomponent bef86bf8-c62f-4a5c-aec8-c84303ef74e2 of type SavedQuery is not found in the metadata cache.</Message>
<Timestamp>2018-10-05T13:38:45.5800249Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Cheers,