Hi all,
both VS 2017 as well as VS 2019 IDE crashes without further error message when trying to choose .Net Framework Data Provider for OLE DB via Server Explorer -> Data Connection -> Add Connection -> Choose Data Source -> Oracle Database ... -> Continue. That happens as soon as a 19.x 32Bit Oracle Full Client is installed. That means, even the dialog for defining the connection is not shown.
It is a clean test installation, only operating system (W10 Version 2004), .Net, Visual Studio, ODT for VS, nothing else. Same result with with other machines with older W10 1607 when a 19.x client is installed.
We did not have such problems using Oracle 12.x. We always check every way to connect to Oracle (oci, jdbc, odbc, .net etc.).
No relevant entries in VS's activitylog.xml.
Event log says:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(System.Data.OleDb.OleDbConnectionString, System.Data.OleDb.DataSourceWrapper ByRef)
at System.Data.OleDb.OleDbConnectionInternal..ctor(System.Data.OleDb.OleDbConnectionString, System.Data.OleDb.OleDbConnection)
at System.Data.OleDb.OleDbConnectionStringBuilder.GetProviderInfo(System.String)
at System.Data.OleDb.OleDbConnectionStringBuilder.TryGetValue(System.String, System.Object ByRef)
at Microsoft.Data.ConnectionUI.AdoDotNetConnectionProperties.get_Item(System.String)
at Microsoft.Data.ConnectionUI.OracleConnectionUIControl.LoadProperties()
at Microsoft.Data.ConnectionUI.DataConnectionDialog.ConfigureContainerControl()
at Microsoft.Data.ConnectionUI.DataConnectionDialog.OnLoad(System.EventArgs)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
at Microsoft.Data.ConnectionUI.DataConnectionDialog.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
Name der fehlerhaften Anwendung: devenv.exe, Version: 15.9.28307.1259, Zeitstempel: 0x5f495de7
Name des fehlerhaften Moduls: ntdll.dll, Version: 10.0.19041.488, Zeitstempel: 0x52319ca5
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0003e8f5
ID des fehlerhaften Prozesses: 0xc84
Startzeit der fehlerhaften Anwendung: 0x01d68a699118999f
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe
Pfad des fehlerhaften Moduls: C:\Windows\SYSTEM32\ntdll.dll
Berichtskennung: 96d7eba6-d1f0-437b-93e0-1919271d2907
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Loaded Modules (partly)
LoadedModule[205]=C:\Windows\SYSTEM32\oleacc.dll
LoadedModule[206]=C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data86569bbf#\13a61d465157513cc606c4ae65394d5d\System.Data.OracleClient.ni.dll
LoadedModule[207]=C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data.OracleClient\v4.0_4.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll
LoadedModule[208]=C:\Program Files (x86)\Common Files\System\Ole DB\oledb32.dll
LoadedModule[209]=C:\Windows\SYSTEM32\MSDART.DLL
LoadedModule[210]=C:\Program Files (x86)\Common Files\System\msadc\msadce.dll
LoadedModule[211]=C:\Program Files (x86)\Common Files\System\msadc\msadcer.dll
LoadedModule[212]=C:\Windows\System32\comsvcs.dll
LoadedModule[213]=C:\Program Files (x86)\Common Files\System\Ole DB\msdaora.dll
LoadedModule[214]=C:\Program Files (x86)\Common Files\System\Ole DB\MSDATL3.dll
LoadedModule[215]=C:\Program Files (x86)\Common Files\System\Ole DB\MSDAORAR.DLL
LoadedModule[216]=C:\oracle\ora32\product\19.3.1\client_1\bin\OCIW32.DLL
LoadedModule[217]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
Any ideas?
Kind regards,
Bernd