我想使用插件註冊工具(從現在開始引用爲PRT)通過CRM 2016在線調試自定義工作流活動。我的問題是,每當我點擊「配置文件工作流程」按鈕時,PRT崩潰。客戶關係管理2016在線 - 調試自定義工作流活動崩潰插件註冊工具
有關崩潰的詳細信息可以在事件日誌中找到並在下面說明。
事件日誌條目之一:
錯誤的應用程序名稱:PluginRegistration.exe,版本:8.2.1.8676,時間戳:0x58d073d5 錯誤模塊名稱:KERNELBASE.dll,版本:10.0.15063.296,時間戳:0xa0527b0c 異常代碼:0xe0434352 故障偏移:0x0000000000069e08 出錯進程ID:0xb70 錯誤應用程序開始時間:0x01d2ea6794b7727a 錯誤的應用程序路徑:d:_temp \ SDK \工具\ PluginRegistration \ PluginRegistration.exe 錯誤模塊路徑:C: \ WINDOWS \系統3 2 \ KERNELBASE.dll 報告編號:21f5bf85-22be-44ca-b884-ef43d9490886 斷裂作用包全名: 斷裂作用包相對應用程序ID:
事件日誌項二:
應用:PluginRegistration.exe Framework版本:v4.0.30319 描述:由於未處理的異常而終止進程。 異常信息:System.Xml.XPath.XPathException at MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind) at MS.Internal.Xml.XPath.XPathParser.ParsePredicate(MS.Internal.Xml.XPath.AstNode ) 在MS.Internal.Xml.XPath.XPathParser.ParseStep(MS.Internal.Xml.XPath.AstNode) 在MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(MS.Internal.Xml.XPath.AstNode) MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(MS.Internal.Xml.XPath.AstNode) at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(MS.Internal.Xml.XPath.AstNode) at MS .Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(MS.Internal.Xml.XPath.AstNode) at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(MS.Internal.Xml.XPath.A stNode) 在MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(MS.Internal.Xml.XPath.AstNode) 在MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(MS.Internal.Xml.XPath.AstNode) 在MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(MS.Internal.Xml.XPath.AstNode) 在MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(MS.Internal.Xml.XPath.AstNode) 在MS.Internal.Xml.XPath.XPathParser.ParseExpresion(MS.Internal.Xml.XPath.AstNode) at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(System.String) at System.Xml.XPath.XPathExpression。編譯(System.String,System.Xml.IXmlNamespaceResolver) at System.Xml.XPath.XPathNavigator.Compile(System.String) at System.Xml.XmlNode.SelectSingleNode(System .String,System.Xml.XmlNamespaceManager) 在PluginProfiler.Library.WorkflowXamlUtility.GetCustomActivityFullyQualifiedName(System.String,System.Xml.XmlNode,System.Xml.XmlNamespaceManager) 在PluginProfiler.Library.WorkflowXamlUtility.GetCustomActivityFullyQualifiedNames(Microsoft.Xrm.Tooling .Connector.CrmServiceClient,System.Xml.XmlDocument,System.Xml.XmlNamespaceManager) at PluginProfiler.Library.WorkflowXamlUtility.GetWorkflowActivitySteps(Microsoft.Xrm.Tooling.Connector.CrmServiceClient,System。字符串) 在Microsoft.Crm.Tools.PluginRegistration.CommonControls.ExistingWorkflow.Refresh() 在Microsoft.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel.set_SelectedWorkFlow(Microsoft.Crm.Tools.PluginRegistration.CommonControls.ExistingWorkflow) 微軟.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel.RefreshWorkflows() at Microsoft.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel..ctor(Microsoft.Crm.Tools.Libraries.CrmOrganization,PluginProfiler.OperationType,System.Guid,Microsoft .Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsView) 在Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.StartProfiler_Clicked() 在Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.MenuI在System.Windows上的System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object) 處的MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource,布爾型)上的tem_Clicked(System.Object) 。 Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate) at System。 Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean) at System.Threading.ExecutionContext.Run(System.Threading .ExecutionContext,System.Threading.ContextCallback,Syst在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object) 在MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext,System.Event.Object,Boolean) 。 Threading.ContextCallback,System.Object的) 在System.Windows.Threading.DispatcherOperation.Invoke() 在System.Windows.Threading.Dispatcher.ProcessQueue() 在System.Windows.Threading.Dispatcher.WndProcHook(IntPtr的,的Int32, IntPtr,IntPtr,Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr,Int32,IntPtr,IntPtr,Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading。 ExceptionWrapper.InternalRealCall(System.Delegate,S ystem.Object,Int32)將 在System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object的,System.Delegate,System.Object的,的Int32,System.Delegate) 在System.Windows.Threading.Dispatcher.LegacyInvokeImpl(系統。 Windows.Threading.DispatcherPriority,System.TimeSpan,System.Delegate,System.Object,Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System。 Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal (System.Windows.Window) at Microsoft.Crm.Tools.PluginRegistration.App.Ma in()
兩個事件日誌條目是在插件崩潰的同時創建的。
我已經花了去年我們的google搜索,試圖找到一個具有至少類似的問題,但我失敗了:)
對此有任何解決方案?
這是我見過的確切問題:「試圖執行http請求時,插件註冊工具崩潰」我的解決方法與您的解決方法相同:添加其他跟蹤並希望解決問題。我也嘗試將邏輯(包括http調用)分離成單獨的類,然後我可以單獨進行調試 – jasonscript