Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Debug Plugin

$
0
0

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.


Viewing all articles
Browse latest Browse all 46379

Trending Articles