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

Notifications

Announcements

Community site session details

Community site session details

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

plugin registration tool - cannot disable profiling (error)

(0) ShareShare
ReportReport
Posted on by 60

Hi,

using Plugin Registration Tool I enabled profiling one of my plugins. I cannot however disable the profiling now - the profiler throws an error "Assembly must be registered in isolation.". I cannot uninstall the profiler as well (the same error). 

How to disable the profiling?

I'm using CRM 2013 with SDK 6.1.1

Full error text below:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Action failed for assembly 'fullnamePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5142aa48c1eedc41': Assembly must be registered in isolation.
Detail: <OrganizationServiceFault xmlns="">schemas.microsoft.com/.../Contracts" xmlns:i="">www.w3.org/.../XMLSchema-instance">
<ErrorCode>-2147220906</ErrorCode>
<ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Action failed for assembly 'fullnamePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5142aa48c1eedc41': Assembly must be registered in isolation.</Message>
<Timestamp>2020-09-23T11:27:47.6867155Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220906</ErrorCode>
<ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Action failed for assembly 'fullnamePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5142aa48c1eedc41': Assembly must be registered in isolation.</Message>
<Timestamp>2020-09-23T11:27:47.6867155Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<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.DisableProfilerSteps(CrmServiceClient service, Dictionary`2 steps)
at PluginProfiler.Library.ProfilerManagementUtility.DisablePlugin(CrmServiceClient service, Guid profilerStepId)
at Microsoft.Crm.Tools.Libraries.OrganizationHelper.DisableProfiler(CrmPluginStep step)
at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.StartProfiler_Clicked()

I have the same question (0)
  • Verified answer
    GhassanK Profile Picture
    60 on at

    I solved this problem - user who is operating the profiler should have a Deployment Admin role

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 79 Super User 2025 Season 2

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 48

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans