Forum Discussion
Cannot invoke on WebView2 Web Browser in its current state
- Anonymous4 years ago
Hello,
From looking at the exception, it is the WebView2 browser process which is crashing. We are working with the WebView2 team to figure out the cause for this but it would be nice to have some more information to help investigate.
Would it be possible for you to provide the following -1 – the WebView2 crash dumps.
You will find them under: “C:\Users\<<UserAlias>>\AppData\Local\Microsoft\Power BI Desktop\WebView2\EBWebView\Crashpad\reports”
Or if you ran desktop as Admin, the under : “C:\Users\<<UserAlias>>\AppData\Local\Microsoft\Power BI Desktop\WebView2Elevated\EBWebView\Crashpad\reports”
2 - your device Id -You can go to Windows -> settings -> system -> about and see the device id there.
You can send the information to me at [email protected]
Workaround:To workaround this issue for now, you can go to File->Options and Settings -> Options -> Preview Features and disable the "Power BI Desktop Infrastructure Update" feature switch. That should stop using WebView2.
If you cannot get to the Options due to app not launching, you can set the following environment variable to disable the feature for now:
Environment Variable : "PBI_enableWebView2Preview"
Value: "0"
HI Anonymous,
According to the error message, I suppose this issue might be a specific device. Did this issue only appear with the current device? Have you tested with another device with the same version of power bi desktop?
In addition, you can also try to use diagnose command to check the system status to confirm if this is related to your system environment.
Diagnostics, feedback, and privacy in Windows (microsoft.com)
Use the System File Checker tool to repair missing or corrupted system files (microsoft.com)
Regards,
Xiaoxin Sheng
Hi Anonymous
Thank you for the suggestion. However I'm trying to use it on office laptop so I don't have the option to change laptop. Our IT does not even support System Restore to previous date. So I'm stuck and will need to fix the current machine.
In addition to that I could not run the Diagnostics as you suggested (blocked by IT).
I'm waiting to fun the system file checker and will try to repair the system files and report back if that fixes the issue.
Regards
Sumeet