Installer Detected Incompatible Version

Installer Detected Incompatible Version

Postby yensid21 » Fri 20 May 2011 14:23

I am trying to install dotConnect for Oracle version 6.30.160 and I am getting an incompatible version found error. The message says:

Devart.Data assembly version 5.0.242.0 is found in Global Assembly Cache. This product is compatible with Devart.Data.dll version 5.0.260.0.

However, when I use the gacutil.exe tool, there are no references to any Devart product. In addition, I checked the assembly folder in the Windows directory and the GAC folders in the Microsoft.NET folder and uninstalled or removed anything related to Devart. I then scanned the entire c: drive and removed all Devart folders. I also scanned the registry and removed all references to Devart.
yensid21
 
Posts: 11
Joined: Fri 17 Sep 2010 16:16

Re: Installer Detected Incompatible Version

Postby Shalex » Mon 23 May 2011 08:10

yensid21 wrote:Devart.Data assembly version 5.0.242.0 is found in Global Assembly Cache. This product is compatible with Devart.Data.dll version 5.0.260.0.

Devart data providers use a common assembly (Devart.Data.dll), so it is necessary to install compatible providers versions. The compatible versions have the same release date.
yensid21 wrote:In addition, I checked the assembly folder in the Windows directory and the GAC folders in the Microsoft.NET folder and uninstalled or removed anything related to Devart.

Please make sure that there are no Devart.* and policy.*.Devart.* files in the %WinDir%\assembly\GAC_MSIL\ folder and restart your computer. Try installing 6.30.160 again. Please notify us about the results.
Shalex
Devart Team
 
Posts: 7616
Joined: Thu 14 Aug 2008 12:44

Postby mnieto » Wed 08 Jun 2011 08:23

Hi

I have the same problem, but:
If I try to unistall the old versions with gacutil
Code: Select all
gacutil /u "Devart.Data,Version=5.0.93.0,culture=neutral,PublicKeyToken=09af7300eec23701"

It say that I have dependent references
Code: Select all
SCHEME:   ID:   DESCRIPTION :

gacutil /uf cannot force uninstall if dependent reference is windows installer

How can I remove the old libraries?
mnieto
 
Posts: 2
Joined: Wed 08 Jun 2011 08:04

Postby Shalex » Thu 09 Jun 2011 12:23

We recommend you to uninstall the previous version of dotConnect for Oracle using the Devart uninstaller: %ProgramFiles%\Devart\dotConnect\Oracle\Uninstall\unins000.exe. You can also run it via Start Menu > All Programs > Devart dotConnect for Oracle > Uninstall dotConnect for Oracle.

By the way, I was able to unistall Devart.Data.dll with gacutil.exe from Visual Studio Command Prompt (2010) using gacutil /u. Maybe it makes sense to uninstall the Devart.Data.Oracle.* assemblies from your GAC first, then remove Devart.Data.Oracle.dll, then delete Devart.Data.dll. But we recommend using our uninstaller.
Shalex
Devart Team
 
Posts: 7616
Joined: Thu 14 Aug 2008 12:44

Postby yuipcheng » Fri 23 Dec 2011 20:14

How do you uninstall the policy files in command line?

Shalex wrote:We recommend you to uninstall the previous version of dotConnect for Oracle using the Devart uninstaller: %ProgramFiles%\Devart\dotConnect\Oracle\Uninstall\unins000.exe. You can also run it via Start Menu > All Programs > Devart dotConnect for Oracle > Uninstall dotConnect for Oracle.

By the way, I was able to unistall Devart.Data.dll with gacutil.exe from Visual Studio Command Prompt (2010) using gacutil /u. Maybe it makes sense to uninstall the Devart.Data.Oracle.* assemblies from your GAC first, then remove Devart.Data.Oracle.dll, then delete Devart.Data.dll. But we recommend using our uninstaller.
yuipcheng
 
Posts: 1
Joined: Wed 04 Aug 2010 19:07

Postby Pinturiccio » Fri 30 Dec 2011 14:13

yuipcheng wrote:How do you uninstall the policy files in command line?

You can uninstall the policy files by using gacutil.exe. Gacutil is supplied with the SDK. Run cmd and execute the following command:
gacutil.exe /u policy.6.60.Devart.Data.Oracle.
Pinturiccio
Devart Team
 
Posts: 1955
Joined: Wed 02 Nov 2011 09:44

Same problem, no solution

Postby lancelotti » Wed 18 Apr 2012 20:13

I have the same problem with no solution until now.

I've uninstalled all Devart products, cleaned GAC, cleaned Windows Registry and same error on install new Devart Version.

I've tried everything that are saying in forums and so on.

The error persist:
"Devart.Data assembly version 5.0.272.0 is found in Global Assembly Cache.
This product is compatible with Devart.Data.dll version 5.0.431.0."
lancelotti
 
Posts: 16
Joined: Tue 23 Feb 2010 18:28

Postby Pinturiccio » Mon 23 Apr 2012 14:24

Please make sure that:
1. You have deleted all assemblies with name, starting with "Devart", from GAC;
2. You have deleted all assemblies from the folders c:\Program Files (x86)\Common Files\Devart\ and d:\Program Files (x86)\Devart\
Pinturiccio
Devart Team
 
Posts: 1955
Joined: Wed 02 Nov 2011 09:44

Postby lancelotti » Mon 23 Apr 2012 14:49

Pinturiccio wrote:Please make sure that:
1. You have deleted all assemblies with name, starting with "Devart", from GAC;
2. You have deleted all assemblies from the folders c:\Program Files (x86)\Common Files\Devart\ and d:\Program Files (x86)\Devart\


None of this folders exists. I'm trying to do this from days and days =[

I've tried to install every version since 2011 until now and the same error... I'm almost reinstalling Windows.
lancelotti
 
Posts: 16
Joined: Tue 23 Feb 2010 18:28

Postby Pinturiccio » Thu 26 Apr 2012 12:29

Please check the folder "C:\Windows\assembly\GAC_MSIL\". Delete all folders containing the word 'Devart' in their names.
Windows Explorer can't see this folder because it has a shell extension which makes the GAC look not like another folder. To delete folders which contain the word 'Devart' in their names you can use Total Comander or FAR Manager. You can also use cmd. Execute the following commands:
Code: Select all
cd C:\Windows\assembly\GAC_MSIL\ - go to GAC folder
dir/p - page-by-page display of folder content.

write down the names of all folders containing the word 'Devart' in their names and then delete them. For example
Code: Select all
rd Devart.Data
Pinturiccio
Devart Team
 
Posts: 1955
Joined: Wed 02 Nov 2011 09:44

Re: Installer Detected Incompatible Version

Postby TheBeat » Wed 10 Jul 2013 14:41

That last post help me a lot when I was losing all faith...

Thank you a lot Pinturiccio! :D
TheBeat
 
Posts: 7
Joined: Fri 29 Jun 2012 13:44


Return to dotConnect for Oracle