Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Access Denied #26

Description

@daniel-scatigno

I'm running on Windows 10 19042.630
I have installed the template, when running the application targeting net5.0-windows (With Edge Canary Installed)
it throws a "CLR/System.UnauthorizedAccessException"

Here is the entire exception

Exception has occurred: CLR/System.UnauthorizedAccessException
An unhandled exception of type 'System.UnauthorizedAccessException' occurred in System.Private.CoreLib.dll: 'Access is denied. (0x80070005 (E_ACCESSDENIED))'
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.d__3.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SpiderEye.Windows.EdgiumWebview.d__28.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpiderEye.Windows.WinFormsTaskExtensions.RunSyncWithPump(Task task)
at SpiderEye.Windows.EdgiumWebview..ctor(String hostAddress, WebviewBridge bridge)
at SpiderEye.Windows.WinFormsWindow..ctor(WebviewBridge bridge)
at SpiderEye.Windows.WinFormsUiFactory.CreateWindow(WindowConfiguration config, WebviewBridge bridge)
at SpiderEye.Window..ctor()
at testwebview.Core.ProgramBase.Run() in D:\Temp\testwebview\testwebview.Core\ProgramBase.cs:line 9
at testwebview.Program.Main(String[] args) in D:\Temp\testwebview\testwebview.Windows\Program.cs:line 13

By the way, the launch.json from the template is outdated, it points out to .net 3.0 framework instead 5.0

This project looks very promising. I'll test on linux later! Great Work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions