Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Debug Plugin

(0) ShareShare
ReportReport
Posted on by

I have a javascript("searching ID")which trigger the CRM's action which in turn trigger a plugin. I  tried to profile this plugin and when the javascript is running by "searching ID", the exception is trigger & I load the profile into "Replay Plugin Execution",  however it prompt error while parsing the profile:

-------

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)

-------

Anyone encounter such issue when creating a profile during javascript execution and the methods to resolve.

Thanks.

*This post is locked for comments

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: Debug Plugin

    Hi Kentan,

    Please refer the link below. It describes the exception you are getting.

    missdynamicscrm.blogspot.in/.../debug-crm-2013-using-plugin-profiler.html

    Hope this helps you.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans