Hi,
I recently updated crm to v.9.0.1.
Made all changes related to SDK within my custom workflow processes and updated assemblies using the new Plugin registration Tool.
Within Plugin registration Tool I have Plug-in profiles installed with no steps.
Clicking on "Profile Workflow" will just close registration tool with no error message.
Trying to uninstall profile results in error:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Solution dependencies exist, cannot uninstall.DependencyCount : 1 RequiredComponentObject details: Id : 2e8000f5-5547-4322-aa73-c5cafeae1e85, Type : Entity, ParentId : 00000000-0000-0000-0000-000000000000, DependentComponentObject details : ObjectName : , Id : d65e3485-d185-e711-8116-e0071b6a82e1, Type : SiteMap, ParentComponentDisplayName : Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"> <ActivityId>48b2bfaf-e1d1-451c-b747-61114fb06f73</ActivityId> <ErrorCode>-2147160035</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"> <KeyValuePairOfstringanyType> <a:key>ApiExceptionSourceKey</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Plugin/Microsoft.Crm.ObjectModel.SolutionService</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiOriginalExceptionKey</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.CrmException: Solution dependencies exist, cannot uninstall.DependencyCount : 1 RequiredComponentObject details: Id : 2e8000f5-5547-4322-aa73-c5cafeae1e85, Type : Entity, ParentId : 00000000-0000-0000-0000-000000000000, DependentComponentObject details : ObjectName : , Id : d65e3485-d185-e711-8116-e0071b6a82e1, Type : SiteMap, ParentComponentDisplayName : ---> Microsoft.Crm.CrmException: Solution dependencies exist, cannot uninstall.DependencyCount : 1 RequiredComponentObject details: Id : 2e8000f5-5547-4322-aa73-c5cafeae1e85, Type : Entity, ParentId : 00000000-0000-0000-0000-000000000000, DependentComponentObject details : ObjectName : , Id : d65e3485-d185-e711-8116-e0071b6a82e1, Type : SiteMap, ParentComponentDisplayName : at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.ThrowCrmException(BusinessEntityCollection dependencies, ExecutionContext context) at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.ValidateForDelete(BusinessEntityMoniker moniker, ExecutionContext context) at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteInternal(ISolution solution, ExecutionContext context) at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.<>c__DisplayClass10_2.<DeleteAndUpdate>b__0() at Microsoft.Crm.ObjectModel.CustomizationSqlLockManager.ExecuteInLock(Action action) at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteAndUpdate(BusinessEntityMoniker moniker, ExecutionContext context, IBusinessEntity upgradingSolution) 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) --- 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()</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiStepKey</a:key> <a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">2a71496d-3f12-11dd-9bde-0019b9312238</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiDepthKey</a:key> <a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">1</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiActivityIdKey</a:key> <a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">48b2bfaf-e1d1-451c-b747-61114fb06f73</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiPluginSolutionNameKey</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>ApiStepSolutionNameKey</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>componentType</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">SiteMap,</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>HasRetried</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">True</a:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <a:key>RetryExecutionStatus</a:key> <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.Core.Extensions.Retry.RetryExecutionStatus</a:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>Solution dependencies exist, cannot uninstall.DependencyCount : 1 RequiredComponentObject details: Id : 2e8000f5-5547-4322-aa73-c5cafeae1e85, Type : Entity, ParentId : 00000000-0000-0000-0000-000000000000, DependentComponentObject details : ObjectName : , Id : d65e3485-d185-e711-8116-e0071b6a82e1, Type : SiteMap, ParentComponentDisplayName : </Message> <Timestamp>2018-08-22T08:13:46.3884619Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault> <ActivityId>48b2bfaf-e1d1-451c-b747-61114fb06f73</ActivityId> <ErrorCode>-2147160035</ErrorCode> <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Solution dependencies exist, cannot uninstall.DependencyCount : 1 RequiredComponentObject details: Id : 2e8000f5-5547-4322-aa73-c5cafeae1e85, Type : Entity, ParentId : 00000000-0000-0000-0000-000000000000, DependentComponentObject details : ObjectName : , Id : d65e3485-d185-e711-8116-e0071b6a82e1, Type : SiteMap, ParentComponentDisplayName : </Message> <Timestamp>2018-08-22T08:13:46.3884619Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText i:nil="true" /> </InnerFault> <OriginalException i:nil="true" /> <TraceText i:nil="true" /> </OrganizationServiceFault> Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at PluginProfiler.Library.ProfilerManagementUtility.UninstallProfiler(CrmServiceClient service) at Microsoft.Crm.Tools.Libraries.OrganizationHelper.UninstallProfiler(CrmOrganization org) at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass33.<InstallProfiler_Clicked>b__27(Object o, DoWorkEventArgs e)
Is there any way out of this?
Thank you