RESULT_CODE_KILLED_BAD_MESSAGE #3912
Replies: 13 comments
-
Hey @vinaykapoor - Can you add some more details here? What component is returning this error code? What page can't be opened? |
Beta Was this translation helpful? Give feedback.
-
I am attempting to use webview2 for WPF on .net core 5.0. I followed the steps mentioned in the documentation, namely install the webview2 runtime. I was able to do that and was able to add webview2 to my wpf application. It worked well on most users PC. However on some users PC the webview2 component doesn’t work and throws that message, despite installing the runtime component.
Vinay
… On Oct 8, 2021, at 12:39 AM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
Hey @vinaykapoor - Can you add some more details here? What component is returning this error code? What page can't be opened?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Is there a stack trace or a particular function call that's returning this code? |
Beta Was this translation helpful? Give feedback.
-
I followed steps from https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf
Microsoft Edge
Version 93.0.961.47 (Official build) (64-bit)
I used the Webview 2 standalone installer.
https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section
For most users the chromium window shows up but for others I get the
Error Code: RESULT_CODE_KILLED_BAD_MESSAGE
Can you give me any suggestions on how to try to debug this on their PC.
Vinay
… On Oct 8, 2021, at 12:39 AM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
Hey @vinaykapoor - Can you add some more details here? What component is returning this error code? What page can't be opened?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Could you share a screenshot of where you are seeing this error code? If you want to debug this the best is to have a debugger attached (or remotely) using Visual Studio, and getting a stack of what's generating this error code. |
Beta Was this translation helpful? Give feedback.
-
All I am doing is setting the source for the webview control to a local
intranet site. I dont get any exception but i the page displays exactly
that comment.
…On Fri, Oct 8, 2021 at 3:56 PM Nic Champagne Williamson [MSFT] < ***@***.***> wrote:
Could you share a screenshot of where you are seeing this error code?
If you want to debug this the best is to have a debugger attached (or
remotely) using Visual Studio, and getting a stack of what's generating
this error code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1804 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHBO6N5NNLI3LTFW3VQIULUF5EGHANCNFSM5FRRXEWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Do you get this error if you navigate to that page in the Microsoft Edge browser on the machines that are running into this? |
Beta Was this translation helpful? Give feedback.
-
No when I try to go directly it’s fine.
Vinay
… On Oct 8, 2021, at 5:30 PM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
Do you get this error if you navigate to that page in the Microsoft Edge browser on the machines that are running into this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
I can try to uninstall and reinstall to see if it makes a difference. I am running on user machines who do not have elevated rights so the only way to install is using a temporary account to install .
Vinay
… On Oct 8, 2021, at 6:08 PM, Vinay Kapoor ***@***.***> wrote:
No when I try to go directly it’s fine.
Vinay
>> On Oct 8, 2021, at 5:30 PM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
>>
>
> Do you get this error if you navigate to that page in the Microsoft Edge browser on the machines that are running into this?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
I am attempting to install this for users with different types of rights on their PC. That’s probably why it works for some and not others. I am not getting any exception but I can see that it’s because of their roles . Can you explain what access does a person need to be able to access webview .
Vinay
… On Oct 8, 2021, at 6:16 PM, Vinay Kapoor ***@***.***> wrote:
I can try to uninstall and reinstall to see if it makes a difference. I am running on user machines who do not have elevated rights so the only way to install is using a temporary account to install .
Vinay
>> On Oct 8, 2021, at 6:08 PM, Vinay Kapoor ***@***.***> wrote:
>>
> No when I try to go directly it’s fine.
>
> Vinay
>
>>> On Oct 8, 2021, at 5:30 PM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
>>>
>>
>> Do you get this error if you navigate to that page in the Microsoft Edge browser on the machines that are running into this?
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub, or unsubscribe.
>> Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
I tried to run your wpf sample. I get the following exception.
Vinay
… On Oct 11, 2021, at 9:44 AM, Vinay Kapoor ***@***.***> wrote:
I am attempting to install this for users with different types of rights on their PC. That’s probably why it works for some and not others. I am not getting any exception but I can see that it’s because of their roles . Can you explain what access does a person need to be able to access webview .
Vinay
>> On Oct 8, 2021, at 6:16 PM, Vinay Kapoor ***@***.***> wrote:
>>
> I can try to uninstall and reinstall to see if it makes a difference. I am running on user machines who do not have elevated rights so the only way to install is using a temporary account to install .
>
> Vinay
>
>>> On Oct 8, 2021, at 6:08 PM, Vinay Kapoor ***@***.***> wrote:
>>>
>> No when I try to go directly it’s fine.
>>
>> Vinay
>>
>>>> On Oct 8, 2021, at 5:30 PM, Nic Champagne Williamson [MSFT] ***@***.***> wrote:
>>>>
>>>
>>> Do you get this error if you navigate to that page in the Microsoft Edge browser on the machines that are running into this?
>>>
>>> —
>>> You are receiving this because you were mentioned.
>>> Reply to this email directly, view it on GitHub, or unsubscribe.
>>> Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Can you check the \EBWebView\Crashpad\reports for a crash dump? Elevation is needed to install the WebView2 runtime, but once installed it shouldn't make a difference. It installs to the system (why it currently needs elevation) and every user of the device should be able to use it. If there was an access problem you wouldn't see the WebView2 load at all. I'm not sure if the access differences could be causing the page they are trying to access to fail to load. |
Beta Was this translation helpful? Give feedback.
-
I am using webview2 with WPF on .NET Core 5. In one of the users PC, he gets this message
Cant open this page
Restart Microsoft Edge
Restart your Computer
Error Code: RESULT_CODE_KILLED_BAD_MESSAGE.
I am not able to figure out why that is.
Beta Was this translation helpful? Give feedback.
All reactions