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"
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!
I also ran into this issue despite having the webview2 runtime installed. The workaround worked though, using an environment variable.
My question then is how to handle this going forward? When checking the settings after the workaround, the infrastructure update switch is missing. That might make sense since I disabled it, but how to get back to a "vanilla" install?
regards
- Anonymous4 years agoNot applicable
Hey,
The environment variable workaround is only a temporary way to disable WebView2. We need to understand why is this failing on your machine. We need to get the failure traces. Can you please reach out to me at [email protected]
thanks