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 :
Microsoft Dynamics CRM (Archived)

Plugin is not working When I am disabling the profiling on Step In Plugin Registration tool?

(0) ShareShare
ReportReport
Posted on by 161

Hi team,

I am finding some strange behavior in plugin registration tool, when i am profiling the plugin i am able to get the result what i intended for , but when i am disabling the profiling i am getting error In CRM. below is the snap for your reference.

can any one of you suggest something on this?

Online CRM / V 8.2 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An error occured in InCenterPayments Plugin : Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>22e655f9-93ef-432b-813b-17856c1f7ce7</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>An error occured in InCenterPayments Plugin : </Message>
<Timestamp>2018-05-07T07:02:36.4830441Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Nagaraj,

    Did you actually debug the code whilst profiling or just tested with profiled enabled?

  • Nagaraj M Profile Picture
    161 on at

    I debug the code as well it's working as expected no exception even while debugging also.

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi Nagaraj M,

    Can you try following.

    • Uninstall Profiler.  
    • Unregister plugin.
    • re-register plugin again (This time dont install Profiler) 
    • Also make sure this issue is only with this plugin ( create simple plugin only for testing purpose)

    Thanks

    Justin Jose

  • Kevin Grech Profile Picture
    380 on at

    You might want to log the context depth. could be that the plugin is triggered multiple times in the sequence and in plugin profiler you'd catch the first run

  • Arnaud Smadja Profile Picture
    15 on at

    Hi,

    I have the same behavior with 9.1 onprem in sandbox.

    the plugin works fine only when profiler is on.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans