sccmclictr icon indicating copy to clipboard operation
sccmclictr copied to clipboard

Stop with unknown Exception

Open Eimerlein opened this issue 5 years ago • 5 comments

We get this Error when we use the application:

Application: SCCMCliCtrWPF.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ComponentModel.Win32Exception at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean, System.Nullable`1<ChannelSet>) at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr) at System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage, IntPtr, IntPtr) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

Eimerlein avatar Apr 16 '20 09:04 Eimerlein

When does this happen ? on start? What is the exact Version of SCCMCliCtrWPF.exe a, sccmclictr.automation.dll and Customization.dll? What is the OS Version/Build? Can you (for testing) remove all Plugin_*.dll...

rzander avatar Apr 16 '20 09:04 rzander

It happens mostly when we right click a host in configuration manager console to start the client center.

Exact Versions:

  • SCCMCliCtrWPF.exe: 1.0.6.1
  • sccmclictr.automation.dll: 1.0.0.36
  • Customization.dll: 3.0.0.9

OS is Windows Server 2012R2 6.3 9600

DLLs are removed, we give it a try. The error is not permanent.

Eimerlein avatar Apr 16 '20 10:04 Eimerlein

Disabeling the plugins does not help. The error is the same

Eimerlein avatar Apr 16 '20 11:04 Eimerlein

Can you reproduce the failure when starting the .exe directly , not from the ConfigMgr Console ?

  • try to unregister and then register the console extension..

Does the error pop up before you see a client center window? or is the windows showing up for a short time ?

rzander avatar Apr 17 '20 12:04 rzander

I think it only comes directly from the ConfigMgr Console. I tried it several times directliy and it works.

We uninstalled and installed again several times

The Window is showing up and the stands still. We have to kill the process via taskmanager. The error is writen to the eventlog. The Windows Title does not change from "Client Center for ConfigMgr (Name)" to the Client Hostname.

We have installed .Net 4.8, does this matter?

Eimerlein avatar Apr 21 '20 07:04 Eimerlein