Jump to content

SMART Notebook Initializing HwndSource Failed with following exception.


Recommended Posts

Posted

Hi,

 

Walked in this morning to find that SMART Notebook 11 throwing up the error:

 

Initializing HwndSource failed with following exception [The type initializer for 'MS.Win32.Penimc.UnsafeNativeMethods' threw an exception.]

 

Then when you select ok, smart opens with to toolbar.

 

Capture5.PNG

Capture6.PNG

 

Has anyone else had this issue at all?

Posted
We are currently experiencing this wonder if it could be a windows update or and update to my AV. I will contact smart today and see what they say.
  • Thanks 1
Posted
OK, then its MS Updates. I am going through one at a time and removing the ones that were installed last night. There is about 15 of them. If you could do the same this would be grate. I am using ESET Anti-Virus so I don't think it would be this.
Posted
if it was me uninstall the software restart the pc delete the folder from the programs and local data roaming profile and run the updates from there

 

Sorry not quite following you. The software worked fine for 3 years until yesterday. Windows updates went onto system.... now not working. on my last windows update to uninstall now.

Posted
Ill try it, but the error is also on machines that only have notebook installed and no drivers selected. I have two installations over the network, one with and one with out the drivers. Both have the issue this morning. I am in the process of rebuilding my test pc to see if a fresh install will solve it.
Posted
I suspect that the issue is the .net 4.7 update, I have the same issue here with notebook v11.4, I have notebook v16 on a test machine and that works OK. net 4.7 seems to be affecting a lot of other software according to online forums.
  • Thanks 1
Posted (edited)

Right... I have uninstalled all my updates, uninstalled SMART 11, restarted PC two times... re installed SMART notebook... the issue is still there. What ever has happened looks to be hard wired into the OS or a file has been removed via the MS update.

 

I am still awaiting my test PC to finish its fresh install, after which I will test the SMART Notebook. If the issue is still there, I will then remove KB3186487 and KB3205402 from WSUS which are both the .Net Framework 4.7 updates (These are the two updates for Windows7. There are others for Windows 8.1 and 10.) and then rebuild my test PC again to see what happens.

 

If everyone on here can do as much research and testing as possible, and then post your finds on here, this will help stop others from doing the same tests and in turn speed up the point we can all get a solution up and going.

Edited by Dan_ATR
Posted
same problem here, uninstalling net framework 4.7 and installing 4.5 seems to fix it here. i know its not a long term solution but it works in short term.
  • Thanks 1
Posted

ok, so in order to role this fix out over a network, I have created this script.

 

Uninstall_DotNet4_7.cmd

@echo off
cls
cd\

echo --- Check for existing installation of .Net 4.7.
If Not exist "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.7.02053\setup.exe" goto _End

echo --- Removing Microsoft Update KB3186497 and .Net 4.7 ---
C:\Windows\System32\wusa.exe /uninstall /kb:3186497 /quiet /forcerestart
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.7.02053\setup.exe /uninstall /x86 /x64 /passive
:_End

 

Then ensure your Windows Server Update Service (WSUS) has both of these two denied KB3186487 and KB3205402 and ensure that your machines get the .Net update from WSUS so that your machine has .Net framework again for your applications to work. If some one would like to add in the install for .net framework over WSUS be my guest.

  • Thanks 3
Posted
Uninstalling 4.7 and re-installing 4.6.2 worked for us. Obviously the MS update to .Net to update to 4.7 is the issue. Just a bit concerned that because MS has seen a 'potential' vulnerability in lower version of .NET (presume this is why they are forcing an update) that if we remove 4.7 and install a lower version we 'may' be putting ourselves at risk. What do people think? Worth the downgrade?
Posted
M$soft have obviously done rigorous testing for backwards compatibility with this latest "Windows breakit"...
Posted

Also affecting Smart Ink on newer versions. See this thread: http://www.edugeek.net/forums/educational-software/185496-smart-ink-net-framework-4-7-a.html

 

Microsoft also released this article on how to block 4.7 installing: https://support.microsoft.com/en-us/help/4024204/how-to-temporarily-block-installation-of-the-net-framework-4-7

 

Ironically it also seems 4.7 breaks Microsoft Exchange Server according to this article: https://redmondmag.com/articles/2017/06/13/avoid-net-framework-4-7.aspx

Posted

There is no MSI and no need. Just create a script to install the offline version of 4.62 with the following commandline:

NDP462-KB3151800-x86-x64-AllOS-ENU.exe /passive /repair /norestart

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...