Error during install - 9.16.1434.0

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Rcrk
Posts: 1
Joined: Mon 28 Mar 2022 18:33

Error during install - 9.16.1434.0

Post by Rcrk » Mon 28 Mar 2022 18:49

The following error occurs during install (new install or on a machine with a previous version). Error doesn't occur if "Do not install assemblies in the GAC" is selected. The error pops up twice, but the install does complete. So far the user reports the projects they checked are working. I'm just checking to see if this is a concern, or what could be done to correct.

************************************************************************************************************
--- Custom action error: CrGacUtil
Date: 3/28/2022 11:30:34 AM
Environment
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Assembly: CrGacUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Exception
Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)
CustomMessage: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Inner Exception
Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)

--- Custom action error: CrGacUtil
Date: 3/28/2022 11:30:42 AM
Environment
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Assembly: CrGacUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Exception
Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)
CustomMessage: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Inner Exception
Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)

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

Re: Error during install - 9.16.1434.0

Post by DmitryGm » Sun 01 May 2022 11:48

Please perform the following actions on the computer where the problem persists:

1) uninstall dotConnect for Oracle and other Devart ADO.NET products

2) make sure (via some file manager like https://x-diesel.com/) that there are no Devart.* and policy.*.Devart.* files/folders in the following locations:
* GAC 2.0 (\Windows\assembly\GAC_MSIL\)
* GAC 4.0 (\Windows\Microsoft.NET\assembly\GAC_MSIL\)

3) clear the directories:
* \Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\Devart\
* \Program Files (x86)\Devart\
* \Program Files (x86)\Common Files\Devart\
* \Documents and Settings\All Users\Devart\EntityDeveloper\
* \Documents and Settings\All Users\Devart\dotConnect\

4) run installation of dotConnect for Oracle via its right-click -> Run as administrator menu

Post Reply