HOWTO: Example use of OraProvCfg.exe to add/remove Oracle assemblies from the Global Assembly Cache (Doc ID 1169890.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version 10.2.0.4 and later
Microsoft Windows x64 (64-bit) - OS Version: 7
Microsoft Windows (32-bit)
Microsoft Windows (32-bit) - OS Version: 7
Microsoft Windows x64 (64-bit) - Version: 2008 R2
***Checked for relevance on 06-Oct-2015***

Goal

Due to elevated security in Windows 7 and Windows 2008,  when trying using Windows Explorer to drag/drop or delete assemblies such as Oracle.DataAccess.dll or Policy.*.Oracle.DataAccess  to/from the Global Assembly Cache: (GAC) may result in the following error:

Assembly Cache Viewer - Install failed
Access is denied: 'Oracle.DataAccess'.
or
Assembly Cache Viewer - Uninstall failed
Access is denied: 'Oracle.DataAccess'.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms