{Error Resolution}CRM 2015 Online Plugin profiler error

Sending
User Review
0 (0 votes)

clip_image001clip_image001[1]clip_image001[2]clip_image001[3]

One of our clients is running on CRM 2015 Update 1 online organisation.

clip_image002

We were getting a weird error while hitting Debug button on Plugin profiler, when we try to load profile on the plugin registration tool: 

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: Message does not contain a serialized value.

   at PluginProfiler.Library.ProfilerUtility.ExtractReportFromFault(OrganizationServiceFault fault)

   at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)

Resolution:

For Earlier version MVP Aileen @aileengusni shares a solution here: http://missdynamicscrm.blogspot.ie/2014/05/debug-crm-2013-using-plugin-profiler.html

I went out to community for help and MVP Andrii @a33ik came up with the solution. The new way to debug a CRM plugin especially useful for online is here(along with a cool Video tutorial):

http://blogs.msdn.com/b/devkeydet/archive/2015/02/17/debug-crm-online-plugins.aspx

Hope it helps you and Happy CRMing!