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"
- Anonymous4 years agoNot applicable
Hi Anonymous
Thank you for your assistance.
Workaround of disabling "Power BI Desktop Infrastructure Update" feature switch which stopped using WebView2, has worked.
However, I would still request you please not to drop the ball and do try to get the issue resolved with WebView2.
I will use the Power BI and report back if I come accross any issue.
Regards
Sumeet
- Anonymous4 years agoNot applicable
Hello Sumeet,
We are looking into the issue. From the exit code (3) for the WebView2 render process failure. It seems like something is blocking the WebView2 process. Do you have any Antivirus which could potentially be blocking the webview2 process ? if yes can you try adding pbidesktop and msedgewebview2 to the exemption list and then see if you can get desktop launch with WebView2 ?
- emilplan4 years agoFrequent Visitor
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