Unable to launch deploy, inventory client consoles on Win11 22h2 22598.200
Running Windows 11 22H2 22598.200 I am unable to launch the PDQ Deploy and Inventory clients. This applies to everyone on my team running this build of 22H2. Attempts to launch are greeted with the following wall-of-text error:
Any idea what is causing this / do you have any recommendations or workarounds to avoid?
Event ID: 1079 System.TypeInitializationException
The type initializer for 'DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric' threw an exception.
AppDomain : PDQDeployConsole.exe
CLR Version : 4.0.30319.42000
Current AppDomain : PDQDeployConsole.exe
Database : C:\ProgramData\Admin Arsenal\PDQ Deploy\Database.db
Date : 2022-04-22T06:40:31.0638924Z
Entry : C:\Program Files (x86)\Admin Arsenal\PDQ Deploy\PDQDeployConsole.exe
Error : The type initializer for 'DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric' threw an exception.
Error Type : System.ArgumentException
HResult : 0x80131534 Code:5428 Facility:19 Warning
License Mode : Enterprise Mode
Manufacturer : Intel Corporation (NUC8i7HVK)
Memory : 31.9 GB (17.4 GB free)
PID : 10952
Process : PDQDeployConsole
Product : PDQ Deploy
SentryEnabled : True
Service Mode : Client
Version : 19.3.254.0
Windows : Microsoft Windows 11 Enterprise (10.0.22598)
Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.
System.ArgumentException
HResult: 0x80070057 Code:87 Facility:7 Warning
------- INNER EXCEPTIONS -------
Cannot bind to the target method because its signature or security transparency is not compatible with that of the delegate type.
System.ArgumentException
HResult: 0x80070057 Code:87 Facility:7 Warning
at System.Delegate.CreateDelegateNoSecurityCheck(Type type, Object target, RuntimeMethodHandle method)
at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType)
at DevExpress.Xpf.Core.Internal.ReflectionHelper.CreateFieldGetterOrSetter(Boolean isGetter, Type delegateType, FieldInfo fieldInfo, Type tElement, Type tField, Boolean addThisArgForStatic)
at DevExpress.Xpf.Core.ReflectionExtensions.Internal.ReflectionHelperInterfaceWrapper.GetFieldSetter(FieldInfo info, Type delegateType, Type tElement, Type tField, Boolean addThisArgForStatic)
at IEventMap15888281-5d8a-4a24-8c67-bf7af253f1db.set_EventsTable(Hashtable )
at DevExpress.Xpf.Core.ClearAutomationEventsHelper.RemoveAutomationPeersAtAll()
at DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric..cctor()
------- OUTER EXCEPTION -------
The type initializer for 'DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric' threw an exception.
System.TypeInitializationException
HResult: 0x80131534 Code:5428 Facility:19 Warning
at DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric..ctor()
at DevExpress.Xpf.Core.ThemedElementsDictionary.ForceThemeKeysLoadingForAssembly(String themeName, String assemblyName)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at DevExpress.Xpf.Core.ThemeManager.ChangeTheme(DependencyObject obj, String themeName, Boolean isTouch, Boolean isTouchLineTheme, String oldThemeName)
at DevExpress.Xpf.Core.ThemeManager.ThemeNamePropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetCurrentValue(DependencyProperty dp, Object value)
at DevExpress.Xpf.Utils.Themes.GlobalThemeHelper.AssignApplicationThemeName(FrameworkElement window)
at DevExpress.Xpf.Utils.Themes.GlobalThemeHelper.EnumerateSafe(WindowCollection windows, Action`1 action)
at DevExpress.Xpf.Utils.Themes.GlobalThemeHelper.SetWindowsApplicationThemeName()
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)
0
Comments
we have multiple users experiencing this same thing.
I guess we are going to have to look for another solution since there are no replies
Did you try contacting PDQ support?
1) Yes, ticket # 341029
2) Seems to be working fine in 22H2 22610.1
Hey Alex Marsaudon
Have you heard anything about your ticket? I'm running into the same issue.
I had the same issue, but upgrading to the next windows build fixed it. Currently on 22H2 22621 with no issues.
Please sign in to leave a comment.