AndyFerguson
Hi, 

I encounter a problem when launching Pi Toolset. This error stops me from using any part of the program. 

I have tried a full uninstall and reinstall multiple times and encounter the same error.

Here is the error message in detail:

Exception: System.Management.ManagementException
Invalid class

Source:
System.Management

Stack Trace:
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Pi.Research.Toolset.RemovableStorage.Manager.RemovableStorageManager.QueryDevices()
at Pi.Research.Toolset.RemovableStorage.Manager.RemovableStorageManager.InitializeDevices()
at Pi.Research.Toolset.RemovableStorage.Manager.RemovableStorageManager..ctor()
at Pi.Research.Toolset.Shell.Offload.OffloadSectionViewModel..ctor(ICommsManager commsManager, EthernetService ethernetService, OffloadOptions offloadOptions, IOffloadSettings offloadSettings)
at Pi.Research.Toolset.Shell.ShellViewModel..ctor(MetadataCache metadataCache, ChannelDatabase channelDatabase, EthernetService ethernetService, IDeviceNameCache deviceNameCache, ICommsManager commsManager, OffloadOptions offloadOptions, OutingProperties outingProperties, DeviceImageCache deviceImageCache, TelemetryOptions telemetryOptions, TelemetryService telemetryService, DiagnosticOptions diagnosticOptions, RluOffloadSettings offloadSettings)
at Pi.Research.Toolset.Shell.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at Pi.Research.Toolset.Shell.SingleInstanceManager.OnStartup(StartupEventArgs eventArgs)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at Pi.Research.Toolset.Shell.EntryPoint.Main(String[] args)

Inner Exception:
null

Any help with the issue would be great.

Thanks

Andy
Reply 0 0
littleozfella
Hi...Which version of toolset, which version of windows.
Reply 0 0
AndyFerguson
Hi, the version of toolset is 7.0.3438.6 (update 6), but I have also tried the previous versions of 7.0 back to update 2. The version of windows is windows 10 pro 22H2.
Reply 0 0
Reply