Error Access denied in Windows 10

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
stephane.lebas
Posts: 1
Joined: Thu 14 Feb 2019 12:47

Error Access denied in Windows 10

Post by stephane.lebas » Thu 14 Feb 2019 13:08

Hello
When i would like to install devart sqlite 5.9 or 5.10 in Widnows 10 with update ( 17134.556), I have a error.
But the same installshied is ok with update version 17134.285

Error message in install.log

Code: Select all

--- Custom action error: CrGacUtil
Date: 14/02/2019 10:41:02
Environment
  Operating System: Microsoft Windows NT 6.2.9200.0
  .NET Framework: 2.0.50727.8922
Assembly: CrGacUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Exception
  Message: Accès refusé. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED))
  Type: Devart.Common.Setup.CustomActionException
  StackTrace:   à CrGacUtil.Program.Main(String[] args)
  CustomMessage: Accès refusé. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED))
  Inner Exception
    Message: Accès refusé. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED))
    Type: Devart.Common.Setup.CustomActionException
    StackTrace:   à CrGacUtil.Program.Main(String[] args)
Can you help me....

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

Re: Error Access denied in Windows 10

Post by Shalex » Mon 18 Feb 2019 17:07

The newest version at the moment is 5.11.1328, refer to https://www.devart.com/dotconnect/sqlit ... story.html.
stephane.lebas wrote:CustomMessage: Accès refusé. (Exception de HRESULT : 0x80070005 (E_ACCESSDENIED))
The issue can occur if assemblies/policy files from higher version are left in the workstation.

Please perform the following actions on the computer where the problem persists:
1) uninstall dotConnect for SQLite 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\2017\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 SQLite via its right click > Run as administrator menu

Post Reply