H2n 4 starting inside a little tile
H2n 4 starting inside a little tile

H2n 4 starting inside a little tile

Hi there, after a h2n crash I cant open the software anymore. It starts, but only in a little tile like the image below. I already tried to reinstall, delete the stats & reports folder but not changed. Could u help me?


I think the log entry for the crash is this:
{"@t":"2024-06-08T22:08:45.9728060Z","@mt":"Unhandled Exception","@l":"Error","@x":"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.\r\n ---> System.ObjectDisposedException: Cannot access a disposed object.\r\n at Microsoft.Web.WebView2.Wpf.WebView2.VerifyNotDisposed()\r\n at Microsoft.Web.WebView2.Wpf.WebView2.get_CoreWebView2()\r\n at Microsoft.AspNetCore.Components.WebView.WebView2.WebView2WebViewManager.SendMessage(String message)\r\n at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDispatcher.InvokeAsync(Action workItem)\r\n at Microsoft.AspNetCore.Components.WebView.IpcSender.<>c__DisplayClass13_0.<g__AwaitAndNotify|0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Microsoft.AspNetCore.Components.WebView.IpcSender.<>c__DisplayClass11_0.b__1()\r\n at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDispatcher.InvokeAsync(Action workItem)\r\n at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDispatcher.<>c.<.cctor>b__8_0(Exception exception)\r\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\r\n at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)\r\n --- End of inner exception stack trace ---\r\n at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)\r\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n at System.Delegate.DynamicInvokeImpl(Object[] args)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n--- End of stack trace from previous location ---\r\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Windows.Threading.DispatcherOperation.Invoke()\r\n at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n at System.Windows.Application.RunDispatcher(Object ignore)\r\n at System.Windows.Application.RunInternal(Window window)\r\n at Hand2NoteApp.Windows.Program.Main(String[] args)"}

09 June 2024 at 10:52 PM
Reply...

2 Replies



Hello,

Could you try to close Hand2Note and then delete the file MainWindowConfig.h2ncg which is located here C:\Program Files\Hand2Note4\Config. ​This will fix your issue.


Hey thanks, this worked like a charm!

Reply...