アプリケーション起動時に、親のプロセス ID を取得しようとして例外(ManagementException)が発生したと言うことまではわかりますが、それ以上の話は、作者以外にはわかりません。
思うに使い方を間違えているのでは?
「YukkuriMovieMaker.Win32Service.exe」という名前からすると、自分で起動する exe ではないはずですよ。
また別に exe があって、そちらを起動しないといけないのでは?
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
イベントビューアーのログ
ログの名前: Application ソース: .NET Runtime 日付: 2022/01/26 19:24:14 イベント ID: 1026 タスクのカテゴリ: なし レベル: エラー キーワード: クラシック ユーザー: N/A コンピューター: DESKTOP-4SFPSEM 説明: アプリケーション:YukkuriMovieMaker.Win32Service.exe フレームワークのバージョン:v4.0.30319 説明: ハンドルされない例外のため、プロセスが中止されました。 例外情報:System.Management.ManagementException 場所 System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus) 場所 System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext() 場所 YukkuriMovieMaker.Win32Service.App.GetParentProcessId() 場所 YukkuriMovieMaker.Win32Service.App.Application_Startup(System.Object, System.Windows.StartupEventArgs) 場所 System.Windows.Application.OnStartup(System.Windows.StartupEventArgs) 場所 System.Windows.Application.<.ctor>b__1_0(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.DispatcherOperation.InvokeImpl() 場所 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 場所 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) 場所 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 場所 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.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) 場所 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 場所 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 場所 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 場所 MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 場所 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 場所 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 場所 System.Windows.Application.RunDispatcher(System.Object) 場所 System.Windows.Application.RunInternal(System.Windows.Window) 場所 System.Windows.Application.Run(System.Windows.Window) 場所 YukkuriMovieMaker.Win32Service.App.Main() イベント XML: http://schemas.microsoft.com/win/2004/08/events/event"> 1026 0 2 0 0 0x80000000000000 50267 Application DESKTOP-4SFPSEM アプリケーション:YukkuriMovieMaker.Win32Service.exe フレームワークのバージョン:v4.0.30319 説明: ハンドルされない例外のため、プロセスが中止されました。 例外情報:System.Management.ManagementException 場所 System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus) 場所 System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext() 場所 YukkuriMovieMaker.Win32Service.App.GetParentProcessId() 場所 YukkuriMovieMaker.Win32Service.App.Application_Startup(System.Object, System.Windows.StartupEventArgs) 場所 System.Windows.Application.OnStartup(System.Windows.StartupEventArgs) 場所 System.Windows.Application.<.ctor>b__1_0(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.DispatcherOperation.InvokeImpl() 場所 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 場所 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) 場所 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 場所 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.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) 場所 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 場所 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 場所 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 場所 MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) 場所 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) 場所 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) 場所 System.Windows.Application.RunDispatcher(System.Object) 場所 System.Windows.Application.RunInternal(System.Windows.Window) 場所 System.Windows.Application.Run(System.Windows.Window) 場所 YukkuriMovieMaker.Win32Service.App.Main()
ロックされた質問。 この質問は、Microsoft サポート コミュニティから移行されました。 役に立つかどうかに投票することはできますが、コメントの追加、質問への返信やフォローはできません。
アプリケーション起動時に、親のプロセス ID を取得しようとして例外(ManagementException)が発生したと言うことまではわかりますが、それ以上の話は、作者以外にはわかりません。
思うに使い方を間違えているのでは?
「YukkuriMovieMaker.Win32Service.exe」という名前からすると、自分で起動する exe ではないはずですよ。
また別に exe があって、そちらを起動しないといけないのでは?
アプリケーションの不具合で、アプリケーションが処理すべき例外処理に対応する例外処理が実装されていないために,NET Frameworkのデフォルトの例外処理が起動されてプロセスが強制終了しています。該当するアプリケーションのサポートに対応してもらってください。
もっとも、電源関係やメモリなどのハードウェアに問題があって、想定外の例外イベントが発生している可能性もあります。