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"
To summarize:
- Check if webview2 is installed on the server (eg. with this solution - https://support.templafy.com/hc/en-us/articles/360017470437-How-to-check-for-and-install-WebView2.
- If not either:
- Install it -
- or force disable it with the solution given above in this topic:
Run "Edit environment variables for your account" from Windows' search box
Add the following user environment variable:
Variable name: "PBI_enableWebView2Preview"
Value: "0"