9.5.483 does not work on linux.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
lonwern
Posts: 2
Joined: Wed 29 Nov 2017 08:22

9.5.483 does not work on linux.

Post by lonwern » Mon 09 Apr 2018 09:59

Error stacks:

Code: Select all

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.Win32.Registry' threw an exception. ---> System.PlatformNotSupportedException: Registry is not supported on this platform.
   at Microsoft.Win32.RegistryKey.OpenBaseKeyCore(RegistryHive hKey, RegistryView view)
   at Microsoft.Win32.Registry..cctor()
   --- End of inner exception stack trace ---
...
Environment: ubuntu 16.04, .net core 2.0, ef core 2.0.
And the previous version (9.5.454) works fine.

bschwehn
Posts: 2
Joined: Tue 10 Apr 2018 10:53

Re: 9.5.483 does not work on linux.

Post by bschwehn » Tue 10 Apr 2018 10:56

I have the same issue, downgrading to 9.5.454 for now.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: 9.5.483 does not work on linux.

Post by Shalex » Thu 12 Apr 2018 13:20

The bug with opening connection by .NET Standard 2.0 compliant assemblies on Linux is fixed. Are you interested in getting the internal build with the fix?

bschwehn
Posts: 2
Joined: Tue 10 Apr 2018 10:53

Re: 9.5.483 does not work on linux.

Post by bschwehn » Thu 12 Apr 2018 13:41

Thanks Shalex,

I am fine with 9.5.454 for now.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: 9.5.483 does not work on linux.

Post by Shalex » Fri 27 Apr 2018 10:48

The bug with opening connection by .NET Standard 2.0 compliant assemblies on Linux is fixed: viewtopic.php?f=1&t=37093.

MarceloPimentel
Posts: 2
Joined: Thu 07 Jul 2022 01:57

Re: 9.5.483 does not work on linux.

Post by MarceloPimentel » Thu 07 Jul 2022 02:17

Hi,

I am getting the same error when running my .Net webAPI in Ubuntu/wsl2

Error window registry 32
.net 6
Windows 10 with Wsl2/Ubuntu 20.04
Dotconnect for oracle express v 10.00.00

Thanks in advance,

DmitryGm
Devart Team
Posts: 152
Joined: Fri 11 Dec 2020 10:27

Re: 9.5.483 does not work on linux.

Post by DmitryGm » Mon 03 Oct 2022 13:21

The express (free) version of dotConnect for Oracle doesn't support .NET Core (.NET 6)

dotConnect for Oracle Editions

Post Reply