web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Editing and saving contact form

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I have created a Dynamics crm trial account.

I have imported a manged solution.

I have also updated the Accounts and Leads form.

When I tried to save any changes to the contact form, i get the following error:

There was an error calculating dependencies for this component. Missing component id contact_SharePointDocuments If you contact support, please provide the technical details.
Activity ID: b4750273-14c8-4dff-aae8-22ab60d6970d
Timestamp: Thu Aug 05 2021 12:31:13 GMT+0100 (British Summer Time)

The solution xml does not contain any dependencies.

I am not sure where I am going wrong since the same solution was working before.

Thank you,

Kelvin.  

  • Community Member Profile Picture
    on at

    Hi,

    what's the imported solution??

  • nilhidrine Profile Picture
    5 on at

    i have created a custom solution.

    I have also created a new environment without importing the solution. It would still give me the same error.

    below is the error log:

    Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
    Message: The dependent component EntityRelationship (Id=contact_SharePointDocuments) does not exist. Failure trying to associate it with SystemForm (Id=1fed44d1-ae68-4a41-bd2b-f13acac4acfa) as a dependency. Missing dependency lookup type = PrimaryNameLookup.Detail:
    <OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
    <ActivityId>9cd2e1ad-a7f2-44b7-8948-c86d8ba1c561</ActivityId>
    <ErrorCode>-2147160010</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">Api/PostPipeline</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiSourceActivityKey</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.Extensibility.PipelineStep</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiExceptionOwnerKey</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">COMMONDATASERVICECDS\MessageProcessorInfrastructure</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 dependent component EntityRelationship (Id=contact_SharePointDocuments) does not exist. Failure trying to associate it with SystemForm (Id=1fed44d1-ae68-4a41-bd2b-f13acac4acfa) as a dependency. Missing dependency lookup type = PrimaryNameLookup.
    at Microsoft.Crm.ObjectModel.InvalidDependencyService.CreateInvalidDependency(Guid existingComponentId, Int32 existingComponentType, DependencyTypes dependencyType, MissingDependencyLookupType lookupType, Object lookupInfo, Int32 missingComponentType, ExistingComponentState state, InvalidDependencyExceptionOption exceptionOption, BusinessEntityCollection previousInvalidDependencies, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.DependencyCalculator.CreateInvalidAncestorDependency(DependencyTypes dependencyType, MissingDependencyLookupType lookupType, Object lookupInfo, Int32 componentType, InvalidDependencyExceptionOption exceptionOption, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.SubGridDependencyCalculator.&lt;&gt;c__DisplayClass2_0.&lt;GetDependentComponentInfo&gt;b__0(XElement parametersElem)
    at Microsoft.Crm.ObjectModel.SubGridDependencyCalculator.EnumerateSubGridControls(String formXml, Action`1 action)
    at Microsoft.Crm.ObjectModel.SubGridDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, CreateInvalidAncestorDependencyHandler invalidAncestorHandler, Boolean canBeUserViews, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormSubGridDependencies(String formXml, DependencyTypes type, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.&lt;&gt;c__DisplayClass3_1.&lt;DetermineAllDependencies&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.DependencyHelperBase.&lt;&gt;c__DisplayClass20_0.&lt;UpdateDependencies&gt;b__1()
    at Microsoft.Crm.SqlTelemetryHelper.LogSqlTimes(Action action, String operationName)
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.ObjectModel.DependencyHelperBase.UpdateDependencies(ExecutionContext context, List`1&amp; missingDependencies)
    at Microsoft.Crm.Dependency.ComponentCollector.&lt;&gt;c__DisplayClass26_1.&lt;UpdateComponentDependencies&gt;b__1()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Dependency.ComponentCollector.&lt;&gt;c__DisplayClass26_0.&lt;UpdateComponentDependencies&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Dependency.ComponentCollector.&lt;&gt;c__DisplayClass20_0.&lt;ProcessRecords&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.BusinessEntities.ExecutionContext.ProcessRecords(CreateNewCollectorOption createOption)
    at Microsoft.Crm.BusinessEntities.ExecutionContext.&lt;&gt;c__DisplayClass286_0.&lt;ProcessDependencies&gt;b__1()
    at Microsoft.Crm.SqlTelemetryHelper.LogSqlTimes(Action action, String operationName)
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.BusinessEntities.ExecutionContext.DependencyCalculationPreCommitHandler(Object sender, EventArgs e)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Microsoft.Crm.CrmTransactionEventManager.InvokePreCommitTransactionEvents()
    at Microsoft.Crm.CrmTransaction.&lt;CommitTransaction&gt;b__11_0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.LegacySqlDataAccessContextImplementation.CommitTransaction()
    at Microsoft.Crm.BusinessEntities.ExecutionContext.CommitTransaction(ProcessDependenciesOption option, FlushCacheOption flushOption)
    at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.InternalMessageDispatcher.&lt;&gt;c__DisplayClass5_0.&lt;Execute&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, Guid callerRegardingObjectId, Int32 invocationSource, Version endpointVersion, OrganizationRequest request, OrganizationInternalRequest organizationInternalRequest)
    at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.DispatchRequest(OrganizationRequest request, OrganizationInternalRequest organizationInternalRequest, SdkResponseDescription responseDescription, SdkPerformanceCounterContext sdkPerformanceCounterContext)
    at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, OrganizationInternalRequest organizationInternalRequest)
    at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentationOperation(OrganizationRequest request, OrganizationInternalRequest organizationInternalRequest)
    at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.&lt;&gt;c__DisplayClass22_0.&lt;ExecuteRequest&gt;b__0()</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiStepKey</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">00000000-0000-0000-0000-000000000000</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">9cd2e1ad-a7f2-44b7-8948-c86d8ba1c561</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>ApiExceptionCategory</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">ClientError</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiExceptionMessageName</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">InvalidDependency</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiExceptionHttpStatusCode</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">400</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>0</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">contact_SharePointDocuments</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>1</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">EntityRelationship</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>2</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">dependent</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>3</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">SystemForm</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>4</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">1fed44d1-ae68-4a41-bd2b-f13acac4acfa</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>5</d2p1:key>
    <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">PrimaryNameLookup</d2p1:value>
    </KeyValuePairOfstringanyType>
    </ErrorDetails>
    <HelpLink>go.microsoft.com/.../
    <Message>The dependent component EntityRelationship (Id=contact_SharePointDocuments) does not exist. Failure trying to associate it with SystemForm (Id=1fed44d1-ae68-4a41-bd2b-f13acac4acfa) as a dependency. Missing dependency lookup type = PrimaryNameLookup.</Message>
    <Timestamp>2021-08-05T11:07:39.4702352Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
    </OrganizationServiceFault>

  • nilhidrine Profile Picture
    5 on at

    Hi, I have managed to make it work.

    It was looking for contact_SharePointDocuments which was not enabled by default for contacts. It was enabled for leads and account.

    I have followed the steps from the link below:

    docs.microsoft.com/.../enable-sharepoint-document-management-specific-entities

    Thank you for your time.

    Kelvin.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 77 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 59

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 41 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans