Multiple versions of dotConnect provider

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
napoleonanderson
Posts: 1
Joined: Fri 23 Apr 2021 13:29

Multiple versions of dotConnect provider

Post by napoleonanderson » Fri 23 Apr 2021 13:32

Is it possible to have multiple versions of dotConnect provider installed and in use on the same machine?

My scenario is the following. While we're developing the application using a fixed stable version I'm tasked with testing new dotConnect releases. With recent upgrade I had to delete previous version dotConnect and now I'm getting various issues trying to build/run/test the application on my machine.

The version the application uses and references is 8.3.161.0, while I'm testing 8.4.352.0.

Symptoms include:
- creating an instance of dotConnect provider fails, as it does not support EF6. (I belive this is caused by the mismatch between the version specified in the app.config (8.3.161.6) and the installed version which means the config registration is ignored and 8.4.352.0 version is used.
- various invalid casts reported (8.4.352.0 cannot be cast to 8.4.352.6).

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

Re: Multiple versions of dotConnect provider

Post by Shalex » Sat 24 Apr 2021 13:56

napoleonanderson wrote: Fri 23 Apr 2021 13:32 Is it possible to have multiple versions of dotConnect provider installed and in use on the same machine?
Please refer to viewtopic.php?t=20149.
napoleonanderson wrote: Fri 23 Apr 2021 13:32 Symptoms include:
- creating an instance of dotConnect provider fails, as it does not support EF6. (I belive this is caused by the mismatch between the version specified in the app.config (8.3.161.6) and the installed version which means the config registration is ignored and 8.4.352.0 version is used.
- various invalid casts reported (8.4.352.0 cannot be cast to 8.4.352.6).
You are using two outdated versions: 8.3.161 15-May-14 and 8.4.352 12-Feb-15.

The current version 9.14.1234 09-Apr-21 includes "C:\Program Files (x86)\Devart\dotConnect\Oracle\Entity\EF6\Devart.Data.Oracle.Entity.EF6.dll" v9.14.1234.0. But the name of this assembly and its revision number were different in provider versions released several years ago you use.

Please upgrade your provider version.

Post Reply