Exception when using WPF webview control

yarnon 1 Reputation point

Hi Microsoft

recently I got a crash with exception code 0x80010012 (RPC_E_SERVER_DIED_DNE), I've searched a lot but no useful solution, the detail stack is following, would you please help check or provide some information, thanks.

crash stack
System.Exception: The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute. (0x80010012 (RPC_E_SERVER_DIED_DNE))
at RoomsHost.UserControls.WebView.RoomsWebViewBase.NavigateUri(Uri uri)
at RoomsHost.UserControls.WebView.RoomsWebViewBase.LoadBlankWebView()
at RoomsHost.UserControls.WebView.RoomsWebViewBase.onLoadCompleted()
at RoomsHost.UserControls.WebView.RoomsWebViewEdge.WebView_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OS information
Windows 10 Version 19042 MP (8 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Machine Name:
Debug session time: Fri Jun 25 17:42:52.000 2021 (UTC + 8:00)
System Uptime: 3 days 21:40:46.736
Process Uptime: 0 days 1:45:15.000
Kernel time: 0 days 0:02:27.000
User time: 0 days 0:15:58.000

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,670 questions
{count} votes

1 answer

Sort by: Most helpful
  1. DaisyTian-1203 11,616 Reputation points

    The Error Description of 0x80010012 is The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute. Then I checked the Microsoft document: WebView control for Windows Forms and WPF, it shows that WebView has been replaced by WebView2. You could refer to the Note for more details.

    WebView has been replaced by WebView2; therefore, you are advised to now use WebView2 instead. If you would like to give feedback directly for WebView2, you can do so here on the Edge repository.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.