ie-fix
Copy URL to Clipboard

After installing .NET Framework 4.7 FrontFace applications do not start any more

In case you are using Windows 7 or Windows 8.1, it may happen that the FrontFace applications (Display Assistant, Kiosk Assistant, Lockdown Tool or the player / kiosk applications) do not start anymore and show the following error message after installing .NET Fraemwork 4.7:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'MS.Win32.Penimc.UnsafeNativeMethods' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {14D4CBD9-7490-4F25-BAA6-1C5E22F6B1E3} failed due to the following error: 80040154.

   at MS.Win32.Penimc.UnsafeNativeMethods..cctor()
   --- End of inner exception stack trace ---
   at MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr& handle)
   at System.Windows.Input.PenThreadWorker..ctor()
   at System.Windows.Input.PenThread..ctor()
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContext(PenContext penContext)
   at System.Windows.Input.TabletDeviceCollection.UpdateTablets()
   at System.Windows.Input.TabletDeviceCollection..ctor()
   at System.Windows.Input.StylusLogic.get_TabletDevices()
   at System.Windows.Input.StylusLogic.RegisterHwndForInput(InputManager inputManager, PresentationSource inputSource)
   at System.Windows.Interop.HwndStylusInputProvider..ctor(HwndSource source)
   at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
   at System.Windows.Interop.HwndSource..ctor(HwndSourceParameters parameters)
   at System.Windows.Window.CreateSourceWindowImpl()
   at System.Windows.Window.SafeCreateWindow()

The error is caused by an incompatibility of the installation order of the .NET Frameworks. It can be fixed by applying the following steps:

  1. First, uninstall the .NET Framework 4.7 (on Windows 7 SP1 and Windows Server 2008 R2 SP1, the Microsoft .NET Framework 4.7 is listed as an installed product under the Programs and Features item in Control Panel and on Windows 8.1 or Windows Server 2012 R2, it’s listed as Update for Microsoft Windows (KB3186539) under the Installed Updates item in Control Panel.
  2. Then, install all remaining updates that may be found by Windows Update except (!) the .NET Framework 4.7.
  3. Finally install .NET Framework 4.7 again (using the standalone installer or Windows Update).

Afterwards the problem does not occur anymore and the FrontFace applications will start as usual.

Last modified: 2017-06-19 12:33
Back to Top ▲