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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Plugin Profiler Error

(0) ShareShare
ReportReport
Posted on by 5
I'm a beginner Dynamics 365 developer and getting below error while trying to debug my first Plugin Code. This occurs when I try to select the profile error log file in Plugin registration tool
to start debugging.
Unhandled Exception: System.ArgumentException: Unable to parse the OrganizationServiceFault.
Parameter name: serializedReport
   at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)
   at PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReport(String assemblyFilePath, String logFilePath, Boolean isCrmDataStream)
   at PluginProfiler.Library.ProfilerExecutionUtility.RetrieveReport(String logFilePath, Boolean isCrmDataStream)
   at Microsoft.Crm.Tools.PluginRegistration.CommonControls.Helper.ParseReportOrShowError(Window window, FileBrowserView profilePathControl, Boolean requireReportParse, ProfilerPluginReport& report)
Inner Exception: System.InvalidOperationException: File does not contain a valid serialized OrganizationServiceFault.
   at PluginProfiler.Library.ProfilerUtility.ConvertFaultToStream(String serializedFault)
   at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)
I've tried re installation of the Profiler but the same error each time. 
Appreciate any help
Thanks
I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    What steps do you perform when you're getting this error?

  • Suggested answer
    rthompson Profile Picture
    1,532 on at

    Check the audit file

  • Rajeev Tanwar Profile Picture
    5 on at

    Where is the Audit file located?

  • Rajeev Tanwar Profile Picture
    5 on at

    I'm following the steps on below link. I get error on Step 13

    www.c5insight.com/.../debugging-plug-in-made-easy-for-dynamics-crm-online.aspx

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    My recommendation - try to trace plugin execution profile to entity. Check this video on how to do that - www.youtube.com/watch

  • Rajeev Tanwar Profile Picture
    5 on at

    When I selected the option trace plugin execution profile to entity, it worked. Any reason why the exception option doesn't work. Is there any way to resolve the error?

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm not the person who developed profiling so I have no answer for that question but as a developer who writes a lot of plugins I rely on this feature. I experienced the same issue multiple times and I started to use "Entity" approach instead that worked fine.

    If my reply resolved your issue take a minute and verify the answer by clicking "Yes" under the question "Did this answer your question" at the top of the reply helped you.

  • Michael Mayo Profile Picture
    13 on at

    With this error in my experience I would recommend making sure you have the most recent version of the SDK tools. Try downloading the most recent tools and see if you still get the error.

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

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
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans