Slider
December 21, 2021, 1:11am
1
I just installed manager and started looking around. I tried the customize option in the summary section to add some tabs. When I click on update, nothing happens.
I tried Journal Entries / New Journal Entry / Create, and nothing happens.
I tried Reports / Profit and Loss Statement / New Report / Create, and nothing happens.
I tried Settings / Business Details / entered my address and hit Update, and nothing happens.
Am I missing something?
Tut
December 21, 2021, 2:29am
2
This may be related to WebView 2. Search the forum for recent discussions about that.
lubos
December 21, 2021, 5:11am
3
Actually this looks like Microsoft issue after all. Installing WebView2 won’t fix the problem unless it’s installed as an administrator.
opened 07:46PM - 17 Dec 21 UTC
bug
tracked
Runtime installer at https://go.microsoft.com/fwlink/p/?LinkId=2124703
It did… not create the registry key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}
It did not inform me that it did not install correctly, nor did it prompt for elevation. I am a local Administrator.
WebView2.EnsureCoreWebView2Async() threw a file not found exception until the Runtime was explicitly installed as Administrator.
Explicitly launching the WebView2 Runtime installer as Administrator did create the registry key and the WebView2 control did subsequently work. Deleting the above registry key after installation as Administrator results in successful instantiation of the WebView2 control (and its CoreWebView2), so the presence of the registry key is not required for the WebView2 control to determine if the WebView2 runtime is installed, contradicting the text "If this regkey doesn't exist, or if exists and is null or an empty string, this means that the WebView2 Runtime is not installed on the client." on the page https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution.
![Capture](https://user-images.githubusercontent.com/96312967/146599407-7e082eee-97c3-400f-a9ea-cfea192ae7e8.PNG)
So, to resolve:
1) WebView2 Runtime installer needs to inform the user if it did not install correctly.
2) WebView2 Runtime installer did not create the above registry key unless explicitly run as Administrator, and presumably did not install some files. See paragraph 5.
3) WebView2.EnsureCoreWebView2Async() throws a file not found exception with a null filename, not because the registry key does not exist, but because some required files were not installed (?). The exception does not reveal which file could not be found.
4) Documentation of how to check if the WebView2 Runtime is installed is incorrect. Presence or absence of registry key doesn't cut it. See paragraph 5.
Attempting to instantiate a WebView2 control in a UWP app (in this case) shows the MessageBox: "Windows cannot access the specified device, path or file. You may not have appropriate permissions to access the item." I can't tell what the item is as the full path is set as the Title of the MessageBox only, and it is not in the MessageBox text, it is truncated, and MessageBox windows are not resizable. This error perhaps can be prevented by specific initialisation options which I have not yet tried.
Multiple entries for Microsoft Edge WebView2 Runtime v96.0.1054.57 are displayed in Windows Programs and Features. Uninstalling one of them seems to work, but attempting to uninstall others entries seemingly does nothing. The WebView2 control does successfully get instantiated at this point. Rebooting the PC does not remove additional entries for WebView2 Runtime from Programs & Features and they (it) can still not be uninstalled. The WebView2 control does successfully get instantiated at this point.
<s>Doc Update: [AB#37615931](https://microsoft.visualstudio.com/90b2a23c-cab8-4e7c-90e7-a977f32c1f5d/_workitems/edit/37615931)</s>
[AB#37743143](https://microsoft.visualstudio.com/90b2a23c-cab8-4e7c-90e7-a977f32c1f5d/_workitems/edit/37743143)
1 Like
Slider
December 21, 2021, 6:08am
4
I ran this installer but didn’t change anything.
lubos
December 21, 2021, 6:10am
5
Here is the workaround until the issue is properly fixed.
Download https://go.microsoft.com/fwlink/p/?LinkId=2124703
Right click on downloaded file and select Run as administrator
option.
1 Like
Slider
December 21, 2021, 6:13am
6
That worked. Thank you sir!