Open Side Menu Go to the Top
Register
H2N4 problem when start H2N4 problem when start

05-11-2024 , 10:24 AM
i dowloaded and installed h2n4, but when start i got this error message
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Microsoft.Web.WebView2.Core.WebView2RuntimeNotFoun dException: Couldn't find a compatible Webview2 Runtime installation to host WebViews.
---> System.IO.FileNotFoundException: A rendszer nem találja a megadott fájlt. (0x80070002)
--- End of inner exception stack trace ---
at Microsoft.Web.WebView2.Core.CoreWebView2Environmen t.CreateAsync(String browserExecutableFolder, String userDataFolder, CoreWebView2EnvironmentOptions options)
at Microsoft.AspNetCore.Components.WebView.WebView2.W ebView2WebViewManager.TryInitializeWebView2()
at Microsoft.AspNetCore.Components.WebView.WebView2.W ebView2WebViewManager.<>c__DisplayClass13_0.<<Navi gateCore>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDis patcher.InvokeAsync(Func`1 workItem)
at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDis patcher.<>c.<.cctor>b__8_0(Exception exception)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.Invok eImpl()
at MS.Internal.CulturePreservingExecutionContext.Call backWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run( CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invok e()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(In tPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeIm pl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl( DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at Hand2NoteApp.Windows.Program.Main(String[] args)

Please help, thanks!
H2N4 problem when start Quote
05-11-2024 , 12:32 PM
Hello,

Could you please try to download and install WebView 2:

https://go.microsoft.com/fwlink/p/?LinkId=2124703

You should run the WebView installation as administrator. Otherwise you will get an error that the program is already installed.
H2N4 problem when start Quote
05-12-2024 , 03:07 PM
Working, thanks!
H2N4 problem when start Quote

      
m