オンラインでCRM 2016を使用してカスタムワークフローアクティビティをデバッグするために、プラグイン登録ツール(PRTとして参照)を使用したかったのです。私の問題は、「プロファイルワークフロー」ボタンをクリックするたびにPRTがクラッシュすることです。CRM 2016オンライン - カスタムワークフローアクティビティのデバッグでプラグイン登録ツールがクラッシュする
クラッシュに関する詳細はイベントログに記載されており、以下で説明します。
イベントログエントリ1:
フォールティングアプリケーション名:PluginRegistration.exe、バージョン:8.2.1.8676、タイムスタンプ:0x58d073d5 フォールティングモジュール名:KERNELBASE.dll、バージョン:10.0.15063.296、タイムスタンプ:0xa0527b0c 例外コード:0xe0434352 障害オフセット:0x0000000000069e08は 断層プロセスIDは:アプリケーション・パスをフォールティング0x01d2ea6794b7727a :0xb70 エラーアプリケーション開始時刻D:_temp \ SDK \ツール\ PluginRegistration \ PluginRegistration.exe フォールティングモジュールパス:C: \ WINDOWS \ System3 2 \ KERNELBASE.dll レポートイド:21f5bf85-22be-44ca-b884-ef43d9490886 断層パッケージフルネーム: 断層パッケージ相対アプリケーションID:
イベントログエントリ2:
アプリケーション:PluginRegistration.exe フレームワークのバージョン:v4.0.30319 説明:処理されなかった例外のため、プロセスが終了しました。 例外情報:System.Xml.XPath.XPathException MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind) MS.Internal.Xml.XPath.XPathParser.ParsePredicate(MS.Internal.Xml.XPath.AstNode) ) (MS.Internal.Xml.XPath.AccessNode) (MS.Internal.Xml.XPath.AstNode) MS.Internal.Xml.XPath.XPathParser.ParsePathExpr .Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(MS.Internal.Xml.XPath.AstNode) (MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(MS.Internal.Xml.XPath.A)) (MS.Internal.Xml.XPath.AstNode) MS.Internal.Xml.XPath.XPathParser.ParseRequationalExpr(MS.Internal.Xml.XPath.AstNode) MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(MS.Internal.Xml.XPath.AstNode) (MS.Internal.Xml.XPath.AccessNpr) MS.Internal.Xml.XPath.XPathParser.ParseExpresion(MS.Internal.Xml.XPath.AstNode)MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(可能System.String)で するSystem.Xml.XPath.XPathExpressionで 。コンパイル(System.String、System.Xml.IXmlNamespaceResolver) at System.Xml.XPath.XPathNavigator.Compile(System.String) at System.Xml.XmlNode.SelectSingleNode(System PluginProfiler.Library.WorkflowXamlUtility.GetCustomActivityFullyQualifiedNamesでPluginProfiler.Library.WorkflowXamlUtility.GetCustomActivityFullyQualifiedName(可能System.String、System.Xml.XmlNode、System.Xml.XmlNamespaceManager) で.String、System.Xml.XmlNamespaceManager) (Microsoft.Xrm.Tooling .Connector.CrmServiceClient、System.Xml.XmlDocument、System.Xml.XmlNamespaceManager) (PluginProfiler.Library.WorkflowXamlUtility.GetWorkflowActivitySteps(Microsoft.Xrm.Tooling.Connector.CrmServiceClient、System。Microsoftの文字列)Microsoft.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel.set_SelectedWorkFlow(Microsoft.Crm.Tools.PluginRegistration.CommonControls.ExistingWorkflowでMicrosoft.Crm.Tools.PluginRegistration.CommonControls.ExistingWorkflow.Refresh() で ) Microsoft.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel..ctor(Microsoft.Crm.Tools.Libraries.CrmOrganization、PluginProfiler.OperationType、可能System.Guid、マイクロソフトで.Crm.Tools.PluginRegistration.CommonControls.ProfilerSettingsViewModel.RefreshWorkflows() Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.MenuI tem_Clicked(System.Objectの)MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource、ブール)System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Objectの)で System.Windowsで で 。 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object、System.Delegate、System.Object、Int32、System.Delegate)の にあるThreading.ExceptionWrapper.InternalRealCall(System.Delegate、System.Object、Int32) at System。 Windows.Threading.DispatcherOperation.InvokeImpl()(System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext、System.Threading.ContextCallback、System.Object、Boolean) at System.Threading.ExecutionContext.Run .ExecutionContext、System.Threading.ContextCallback、Syst System.Web.UI.Controlから継承されます。Microsoft.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext、System.ControlCallback、System.Object)、 System.Windows.Threading.DispatcherOperation.Invoke()の System.Windows.Threading.Dispatcher.WndProcHook(IntPtr、Int32、System.Object)で をSystem.Windows.Threading.Dispatcher.ProcessQueue()で に設定します。 (IntPtr、IntPtr、Boolean ByRef) MSWin32.HwndWrapper.WndProc(IntPtr、Int32、IntPtr、IntPtr、Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading。 ExceptionWrapper.InternalRealCall(System.Delegate、S (System.Object、System.Delegate、System.Object、Int32、System.Delegate) (System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Object、System.Delegate、System.Delegate) )。 (IntPtr、Int32、IntPtr、IntPtr) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Threading.DispatcherPriority、System.TimeSpan、System.Delegate、System.Object、Int32) MS.Win32.HwndSubclass.SubclassWndProc System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)の System.Windows.Application.RunDispatcher(System.Object)の にSystem.Windows.Application.RunInternalに を追加しました。 (System.Windows.Window) (Microsoft.Crm.Tools.PluginRegistration.App.Ma) ()
イベントログエントリは、プラグインがクラッシュしたときに同時に作成されます。
私は、少なくとも同様の問題を持つ人を見つけようと、最後の私たちのグーグルを費やしてきたが、私はこのためのすべてのソリューションがあります:)
を失敗しましたか?
これはまさに私が見てきた問題です。「httpリクエストを試みると、プラグイン登録ツールがクラッシュします」私の回避策はあなたのものと同じでした。また、ロジック(http呼び出しを含む)を別々のクラスに分けて、別々のデバッグを試みることもできます – jasonscript