使用插件注册工具CRM 2013调试插件 [英] debug plugin using plugin registration tool CRM 2013

查看:220
本文介绍了使用插件注册工具CRM 2013调试插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在插件步骤之一中安装了探查器,该探查器将在创建记录时执行。



完成此操作后,它会生成错误日志。我已经复制了该文本并创建了errorlog.txt。看起来像下面的样子: >

当我上传该文件时,它给了我下面的错误。


未处理的异常:系统.ArgumentException:无法解析OrganizationServiceFault。
参数名称:PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)的serializedReport
PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReport(String在PluginProfiler.Library.ProfilerExecutionUtility.RetrieveReport(String logFilePath,Boolean isCrmDataStream)
at Microsoft.Crm.Tools.PluginRegistration.CommonControls.Helper.ParseReportOrShowError(Window window,FileBrowserView profilePathControl,Boolean requireReportParse $ b $ Report) b内部异常:System.InvalidOperationException:文件不包含有效的序列化OrganizationServiceFault。
在PluginProfiler.Library.ProfilerUtility.ConvertFaultToStream(String serializedFault)
在PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)


我已经检查了此链接 Debug CRM 2013 Using Plugin Profiler错误:,但不起作用。

解决方案

如果您遇到这种情况,将会发生下载错误的日志文件并送入PRT进行调试。




  • 正确的日志文件:



基本上在安装了探查器&配置插件步骤后,一旦在CRM中完成了复制步骤,则在尝试下载日志文件时,提示应显示为业务流程错误,并且应进行加密和加密。机器可读性如下:


下载详细信息并使用Plug-in Profiler加载。
| 7R1dc + I48q9QPGzdPRgbDMFhCVuzk8wttTsDFTJXW / tyJcttoosteWU5CfvrV7IN4cMBw0wM0ZIHgmS11OputVr .......



  • >错误的日志文件:(您的情况)



  • 但并非人类可读,如下所示:


    System.Security.SecurityException:Microsoft Dynamics CRM遇到错误。管理员或支持人员的参考编号:#D42EB3A1详细信息:....



    I have install profiler in one of my plugin step, which will executed on create of record.

    Once i complete this, it generate a errorlog. I have copied that text and created a errorlog.txt. It looks like below :

    |7V3rkqM4ln4VR/6Y2I0uGzDGl2xXTuR1OmeqKnMys3on+k+HANnJFAY34KrK3tiIfYJ9i32H+d9vsk+yEjcD5iJ8AYxPdUd3gQVIOtI53znfkTT98/eF3vmKLVszjfdnQo8/62BDMVXNmL8/...

    When i upload that file, it gives me below error.

    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 have already checked this link Debug CRM 2013 Using Plugin Profiler error : , but its not working.

    解决方案

    This will happen, if you download the wrong log file and feed into PRT for debugging.

    • Correct log file:

    Basically after installing profiler & the plugin step is profiled, once repro step is done in CRM, when trying to download the log file the prompt should read "Business Process error" and it should be encrypted & machine readable like below:

    Download the details and load with Plug-in Profiler. |7R1dc+I48q9QPGzdPRgbDMFhCVuzk8wttTsDFTJXW/tyJcttoosteWU5CfvrV7IN4cMBw0wM0ZIHgmS11OputVr.......

    • Wrong log file: (your case)

    But not human readable like below:

    System.Security.SecurityException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D42EB3A1Detail:.......

    这篇关于使用插件注册工具CRM 2013调试插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆