Salve a tutti,
quando pubblico il progetto ho questo inconveniente relativo a GMap.net
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.TypeInitializationException: L'inizializzatore di tipo di 'GMap.NET.WindowsForms.GMapControl' ha generato un'eccezione. ---> System.DllNotFoundException: Impossibile caricare la DLL 'SQLite.Interop.dll': Impossibile trovare il modulo specificato. (Eccezione da HRESULT: 0x8007007E).
in System.Data.SQLite.UnsafeNativeMethods.sqlite3_libversion()
in GMap.NET.CacheProviders.SQLitePureImageCache.Ping()
in GMap.NET.GMaps.SQLitePing()
in GMap.NET.WindowsForms.GMapControl..cctor()
--- Fine della traccia dello stack dell'eccezione interna ---
in GMap.NET.WindowsForms.GMapControl..ctor()
in WindowsFormsApp1.Info_Contatore.InitializeComponent()
in WindowsFormsApp1.Info_Contatore..ctor()
in WindowsFormsApp1.Estratto_Conto.infoContatoreToolStripMenuItem_Click(Object sender, EventArgs e)
in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ToolStrip.WndProc(Message& m)
in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4420.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsFormsApp1
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/xxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/WindowsFormsApp1.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4400.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4360.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4395.0 built by: NET48REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4341.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4341.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Data.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
System.Transactions
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4395.0 built by: NET48REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
EntityFramework
Versione assembly: 6.0.0.0
Versione Win32: 6.400.420.21404
Base di codice: file:///C:/Users/xxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/EntityFramework.DLL
----------------------------------------
EntityFramework.SqlServer
Versione assembly: 6.0.0.0
Versione Win32: 6.400.420.21404
Base di codice: file:///C:/Users/xxxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/EntityFramework.SqlServer.DLL
----------------------------------------
System.Data.SQLite.EF6
Versione assembly: 1.0.115.0
Versione Win32: 1.0.115.0
Base di codice: file:///C:/Users/xxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/System.Data.SQLite.EF6.DLL
----------------------------------------
System.Data.SQLite
Versione assembly: 1.0.115.0
Versione Win32: 1.0.115.0
Base di codice: file:///C:/Users/xxxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/System.Data.SQLite.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Versione assembly: 0.0.0.0
Versione Win32: 4.8.4420.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Numerics
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.OracleClient
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data.OracleClient/v4.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
----------------------------------------
GMap.NET.WindowsForms
Versione assembly: 2.0.2.0
Versione Win32: 2.0.2.0
Base di codice: file:///C:/Users/xxxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/GMap.NET.WindowsForms.DLL
----------------------------------------
GMap.NET.Core
Versione assembly: 2.0.2.0
Versione Win32: 2.0.2.0
Base di codice: file:///C:/Users/xxxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/GMap.NET.Core.DLL
----------------------------------------
System.Xml.Linq
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.xml.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
EntityFrameworkDynamicProxies-WindowsFormsApp1
Versione assembly: 1.0.0.0
Versione Win32: 6.400.420.21404
Base di codice: file:///C:/Users/xxxxxx/AppData/Local/Apps/2.0/J09DOGNX.NZW/HEJ6H998.ERP/wind..tion_1685b10aa6ebb6d0_0001.0000_878d751509bdf3e2/EntityFramework.dll
----------------------------------------
System.Runtime.Serialization
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4341.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Runtime.Caching
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Core.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4161.0 built by: NET48REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Core.resources.dll
----------------------------------------
************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Come risolevre?