Access denied. (Exception from HRESULT: 0x80070005 (E_ACC

Access denied. (Exception from HRESULT: 0x80070005 (E_ACC

Postby DeanH » Mon 26 Sep 2011 16:14

When installing the component dotconnect for postgreSQL Professional version 4.95.170.0, on a Windows 7 64bit OS, I get the following Exception Error- Any idea how to resolve the issue
--- Custom action error: CrGacUtil
Date: 9/26/2011 6:34:19 AM
Environment
Operating System: Microsoft Windows NT 6.1.7600.0
.NET Framework: 2.0.50727.4927
Assembly: CrGacUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Exception
Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)
CustomMessage: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Inner Exception
Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Type: Devart.Common.Setup.CustomActionException
StackTrace: at CrGacUtil.Program.Main(String[] args)
DeanH
 
Posts: 3
Joined: Mon 26 Sep 2011 16:05
Location: New Castle. DE

Postby Shalex » Wed 28 Sep 2011 15:15

Try running our installation under Administrator account using the "As Administrator" option. Your current user does not have access to GAC.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Postby DeanH » Wed 28 Sep 2011 15:30

I was logged in as Admin when the error occurred. I only see this on 64bit version of Windows 7
DeanH
 
Posts: 3
Joined: Mon 26 Sep 2011 16:05
Location: New Castle. DE

Postby DeanH » Wed 28 Sep 2011 15:33

The component is being installed as a prerequisite via InstallShield 2011 MSI. Is there a command line parameter I can pass when the component is being installed to set this "As Administrator" option?
DeanH
 
Posts: 3
Joined: Mon 26 Sep 2011 16:05
Location: New Castle. DE

Postby Shalex » Thu 29 Sep 2011 07:26

Try running our installation directly under your account (not via InstallShield 2011 MSI). If it works, the problem is with InstallShield settings.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL