Exception when showing window
See original GitHub issueI get this exception when viewing a certain automapper expression. I can’t give give source due to NDA, but I can give you some limited other information.
Visual Studio 2109 v16.11.2 Automapper 10.1.1 .NET Core 3.1 ReadableExpresssions.Visualizer 4.1.0
I followed the instructions on https://agileobjects.co.uk/view-automapper-execution-plan-readableexpressions
It happens both with my code and the code as shown on the example. Installed from the market place https://marketplace.visualstudio.com/items?itemName=vs-publisher-1232914.ReadableExpressionsVisualizers
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at System.Windows.Forms.UnsafeNativeMethods.IWebBrowser2.get_RegisterAsDropTarget()
at System.Windows.Forms.WebBrowser.set_AllowWebBrowserDrop(Boolean value)
at AgileObjects.ReadableExpressions.Visualizers.Dialog.Controls.VisualizerViewer.HandleShown(String translation)
at AgileObjects.ReadableExpressions.Visualizers.Dialog.VisualizerDialog.<>c.<.ctor>b__8_0(Object sender, EventArgs args)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Show window with exception when any occur - java
I want something like in minecraft - when game crashes there is launcher window saying that exception occur. java · exception · Share....
Read more >Manage exceptions with the debugger in Visual Studio
An exception is an indication of an error state that occurs while a program is being executed. You can tell the debugger which...
Read more >7.2 Handle Exceptions on Windows
On Windows, an exception is an event that occurs during the execution of a program. There are two kinds of exceptions: hardware exceptions...
Read more >How to show an unhandled exception window in WPF
This posts describes how to show an exception window for every unhandled exception that occurs in our WPF application. [C#][.NET][WPF]
Read more >Exception Handling in Windows Forms
In this tutorial, we will manage a variety of errors and issues that would occur when using windows forms. We will use exception...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No problem! I did try restarting several times without success, in fact that’s the first thing I tried. Only using the earlier version helped. Still, it’s working well now 😃
I’m also getting the same issue with version 4.1.1