How to remove old davart.data?

How to remove old davart.data?

Postby mcinnes01 » Wed 07 Nov 2012 09:00

Hi,

I am trying to install the new version of dotConnect and Entity Developer, I uninstalled these first and selected remove registry entry.

When I run the install I get the devart.data version is incompatible error. I have tried the gacutil thing but I don't think I have the right public key token?

gacutil /u "Devart.Data,Version=5.0.563.0,culture=neutral,PublicKeyToken=09af7300eec23701"

Please can someone help?

Andy
mcinnes01
 
Posts: 19
Joined: Wed 27 Jun 2012 13:55

Re: How to remove old davart.data?

Postby Shalex » Wed 07 Nov 2012 11:07

mcinnes01 wrote:When I run the install I get the devart.data version is incompatible error.

Devart data providers use a common assembly (Devart.Data.dll), so it is necessary to install compatible providers versions. We release our ADO.NET data providers in a single pack, thus releases from the same date should be compatible.

mcinnes01 wrote:I have tried the gacutil thing but I don't think I have the right public key token?
gacutil /u "Devart.Data,Version=5.0.563.0,culture=neutral,PublicKeyToken=09af7300eec23701"

The uninstall command seems to be correct. Make sure that:
1) used gacutil is from .NET 2.0: %ProgramFiles%\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe
2) you have specified a correct version in the command (5.0.563.0). You can find the version to uninstall in the warning message provided by the installation of the new version of dotConnect for Oracle.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: How to remove old davart.data?

Postby mcinnes01 » Thu 08 Nov 2012 12:31

It isn't finding that version and as I said when I listed everything from the assembly using gacutil /l >> my.txt and there was NO reference after I did the complete uninstall. Below is my current one AFTER I reinstalled but obviously I have the issue I reported to supprt where by I now how non of the VS2010 UI tools available from XEditer.Devart. E.g. If I go to add a Devart Entity model the wizard doesn't display or the model browser and instead I get an error about XEditor.Devart.

I have added a path to the gacutil folder as suggested in my environment variables. ;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\

And the gacutil cannot find the refernced: gacutil /u "Devart.Data,Version=5.0.563.0,culture=neutral,PublicKeyToken=09af7300eec23701"

Please can you help me asap as this is stopping me working.

Thanks,

Andy

    Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
    Copyright (c) Microsoft Corporation. All rights reserved.

    The Global Assembly Cache contains the following assemblies:
    Devart.Data, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Design, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Linq, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Linq.Web, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Linq.Web.DynamicData, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Oracle, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Oracle.Entity, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Oracle.Linq, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Data.Oracle.Web, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Diagram, Version=1.10.0.87, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.CommonRes, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.Controls, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.Interfaces, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.Studio, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.TextEditor, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.TextEditor.Interfaces, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.Utils, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Shell.Vs, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.Studio.Help, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.XBars, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.XData, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.XGrid, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.XTreeList, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
    Devart.XUtils, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL

    Number of items = 833
mcinnes01
 
Posts: 19
Joined: Wed 27 Jun 2012 13:55

Re: How to remove old davart.data?

Postby Shalex » Thu 08 Nov 2012 17:14

Please reinstall dotConnect for Oracle in the following way:
1) uninstall dotConnect for Oracle (if you installed Entity Developer as a separate product, uninstall it as well);
2) make sure that there are no Devart.* and policy.*.Devart.* files in the following folders:
* \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Devart\
* GAC 2.0 (\Windows\assembly\) and GAC 4.0 (\Windows\Microsoft.NET\assembly\)
* \Program Files (x86)\Common Files\Devart\
3) run install of dotConnect for Oracle via its right click > Run as administrator menu
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: How to remove old davart.data?

Postby mcinnes01 » Mon 12 Nov 2012 14:41

Hi,

gacutil/l displays a list of devart assembilies as below, but gacutil/lr does not.

When I try deleting assembilies using gacutil/u "assembly ...." it cannot find the assembiles, even though I have copied them from the txt dump I ran out from gacutil/l >> my.txt.

I have used both fully qualified and partials to do this and it doesn't work on either. Is there a different way I should be doing it to access the Devart assembilies that exist in gacutil/l but are not in gacutil/lr?

I followed all other points, uninstalled everything, checked all the folders and deleted anything if it did exist. But this gacutil is not working for me.

These are the assemblies I found relating to Devart from gacutil/l

policy.1.0.Devart.Data.Linq, Version=4.1.119.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
policy.1.0.Devart.Data.Oracle.Linq, Version=4.1.119.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
policy.1.20.Devart.Data.Linq, Version=4.1.119.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
policy.1.20.Devart.Data.Oracle.Linq, Version=4.1.119.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL

Devart.Data, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Design, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Linq, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Linq.Web, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Linq.Web.DynamicData, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Oracle, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Oracle.Entity, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Oracle.Linq, Version=4.1.119.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Data.Oracle.Web, Version=7.2.114.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Diagram, Version=1.10.0.87, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.CommonRes, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.Controls, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.Interfaces, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.Studio, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.TextEditor, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.TextEditor.Interfaces, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.Utils, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Shell.Vs, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.Studio.Help, Version=1.3.19.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.XBars, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.XData, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.XGrid, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.XTreeList, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
Devart.XUtils, Version=9.2.11.1, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL
mcinnes01
 
Posts: 19
Joined: Wed 27 Jun 2012 13:55

Re: How to remove old davart.data?

Postby mcinnes01 » Mon 12 Nov 2012 15:07

This is what I get when I use the gacutil

Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.

Number of assemblies uninstalled = 0
Number of failures = 0

I am using:

gacutil/u "Devart.Data, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701"

This was on the list from gacutil/l

Devart.Data, Version=5.0.573.0, Culture=neutral, PublicKeyToken=09af7300eec23701, processorArchitecture=MSIL

Is it something to do with the MSIL?

How do I solve this?
mcinnes01
 
Posts: 19
Joined: Wed 27 Jun 2012 13:55

Re: How to remove old davart.data?

Postby Shalex » Mon 12 Nov 2012 17:56

There was no clear answer if you followed the recommended steps for reinstalling the product or not. Please do this again:

1. Uninstall dotConnect for Oracle (if you installed Entity Developer as a separate product, uninstall it as well).

2. Make sure that there are no Devart.* and policy.*.Devart.* files in the following folders:
a) \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Devart\
b) \Program Files (x86)\Devart\
c) \Program Files (x86)\Common Files\Devart\
d) GAC 2.0 (\Windows\assembly\GAC_MSIL\) and GAC 4.0 (\Windows\Microsoft.NET\assembly\GAC_MSIL\).
If gacutil doesn't work in your environment for some reason, try using any file manager (e.g.: Total Commander) and navigate to C:\Windows\assembly\GAC_MSIL\ and remove the Devart.Data folder. Also check there are no other Devart.* and policy.*.Devart.* folders in both GACv2.0 and GACv4.0.
The dotConnect for Oracle installation looks for Devart.Data.dll in GACv2.0.

3) run install of dotConnect for Oracle via its right click > Run as administrator menu

Notify us about the result. If something goes wrong, specify which step fails and the exact error message.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: How to remove old davart.data?

Postby mcinnes01 » Tue 13 Nov 2012 10:19

Hi,

Thanks, total commander was the solution, a great tool!

The issue was that the assemblies weren't correctly removed from \Windows\assembly\GAC_MSIL\

Is this something you will fix on the installer as it has taken an inanimate amount of time to sort out?

Thanks again for your help and I hope this is usefull for anyone else who struggles with this issue.

Andy
mcinnes01
 
Posts: 19
Joined: Wed 27 Jun 2012 13:55

Re: How to remove old davart.data?

Postby Shalex » Thu 15 Nov 2012 07:32

mcinnes01 wrote:Is this something you will fix on the installer as it has taken an inanimate amount of time to sort out?

We cannot reproduce the problem in our environment. It seems like our uninstaller failed to remove the assembly because gacutil, which is used in our product as well, could not do that. If so, the problem is associated with gacutil itself.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: How to remove old davart.data?

Postby phillipsj » Fri 21 Dec 2012 16:34

I receive the message that the Windows installer is hanging on to a couple of the assemblies. I am uninstalling and reinstalling DotConnect for Oracle. As expected, the installer has indicated the conflict.

Assembly: Devart.Data, Version=5.0.93.0, Culture=neutral, PublicKeyToken=09af730
0eec23701, processorArchitecture=MSIL
Assembly could not be uninstalled because it is required by Windows Installer
Number of assemblies uninstalled = 0
Number of failures = 0

Please advise on how to remove.

I do not have any Private assemblies in the VS 11 directories.
phillipsj
 
Posts: 4
Joined: Thu 20 Dec 2012 23:08

Re: How to remove old davart.data?

Postby Shalex » Tue 25 Dec 2012 06:39

phillipsj, make sure (e.g.: via Control Panel) that no Devart product is installed on your workstation and follow our recommendations from Shalex' post Nov 12, 2012 7:56 pm (check the corresponding VS11's folder in 2.a). Notify us about the results.

Devart data providers use a common assembly (Devart.Data.dll), so it is necessary to install compatible providers versions. We release our ADO.NET data providers in a single pack, thus releases from the same date should be compatible.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44

Re: How to remove old davart.data?

Postby phillipsj » Wed 26 Dec 2012 19:03

In Control Panel, there were no other DevArt products. It appeared to be more of a Windows installer issue.

When I first deinstalled a DevArt product(prior to my dotConnect for Oracle install), I had used the Windows deinstaller process rather than using the DevArt provided deinstaller.

I since have used the start Programs DevArt Deinstaller process.

As you refer to a previous post, I verified that there were not any private assemblies before reinstalling DotConnect.

Clearly, it seems that the GAC error message I show above is that the assemblies appear to be associated with an MSI installer. I did examine the registry and saw that it was a Quest Product TOAD Spotlight on Oracle that had the older dll.

Your installer for dotConnect warns on this conflict. Can I be certain that what I develop against and package will be the latest dll?

Thanks,

Jack
phillipsj
 
Posts: 4
Joined: Thu 20 Dec 2012 23:08

Re: How to remove old davart.data?

Postby Shalex » Fri 28 Dec 2012 08:18

phillipsj wrote:Can I be certain that what I develop against and package will be the latest dll?

Just add the references to the latest versions of Devart.* dlls in your project. dotConnect for Oracle copies assemblies in two locations: GAC and installation folder (by default, \Program Files\Devart\dotConnect\Oracle). So you can find out the versions of Devart.* dlls which correspond to the installed provider from its installation folder.

phillipsj wrote:I did examine the registry and saw that it was a Quest Product TOAD Spotlight on Oracle that had the older dll.

If Quest Product TOAD Spotlight doesn't use the <publisherPolicy apply="no"/> entry for the Devart.* references in its *.config, you should remove policy.*.Devart.* files from the GAC so that TOAD Spotlight can load older versions of Devart.* dlls.
Shalex
Devart Team
 
Posts: 7533
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle