Cannot uninstall plugin profiler from dev environment. RRS feed

  • Question

  • Hello All,

                   I'm facing very weired issue while uninstalling Plugin Profiler from my production environment.Here is full description of my problem is given step by step.

    1)We have 2 CRM 2015 online instances.one for Dev and another for Production.

    2)We have developed solution in the Dev env and deployed it on to the Production env as Managed Solution.

    3)With all the above solution plugin profiler is also get imported into the Production as managed solution.

    Now,when we are trying to connect outlook with CRM 2015 online it is giving some issue related to plugin profiler and hence we are trying to remove the Plugin Profiler from the production but we are not able to do so and facing the following error,

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This solution cannot be uninstalled because the 'EntityRelationship' with id 'd85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)'  is required by the 'XXX' solution. Uninstall the XXX solution and try again.Detail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">EntityRelationship</d2p1:value>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">d85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)</d2p1:value>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">XXX</d2p1:value>
      <Message>This solution cannot be uninstalled because the 'EntityRelationship' with id 'd85b5171-3bb4-e411-80e5-c4346bacbf10(mbs_businessunit_mbs_pluginprofile)'  is required by the 'XXX' solution. Uninstall the XXX solution and try again.</Message>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />

    Where in above error "XXX" is our main Managed solution which we have deployed.

    If anybody has face this kind of issue ,please help us on this weired issue ASAP.We are really stuck with the further developement.

    Prashant Wani ,Software Engineer-II,Infinx Services Pvt.Ltd.

    • Edited by Prashant Wani Monday, February 23, 2015 12:08 PM Wrong Subject
    Monday, February 23, 2015 12:08 PM

All replies

  • Check SDK Message Processing Steps of your solution if there is PluginProfiler Entry under Event Handler column. You need to stop profiling that step before uninstalling the Plugin Profiler. 

    Regards, Saad

    • Edited by Mohd Saad Monday, February 23, 2015 12:37 PM
    Monday, February 23, 2015 12:37 PM
  • Hi Prashant,

    Did you find a solution to this?


    Thursday, August 3, 2017 8:01 AM
  • Hi Chryshanthi,

    Did you check if any of the plugin-step is being "Profiled"? If so you need to "stop Profiling" all those steps and then try uninstalling the Plugin Profiler. 



    Thursday, August 3, 2017 8:33 AM