"access denied" when installing Oracle Data Provider for entity infrastructure

I am trying to install the Oracle 12c release 1 database client installer. I am installing the .NET data access component for oracle to connect to the oracle 12c database with an entity framework.

When I am in the "Product Installation" section, I get this error:

Error in writing to file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\\..\..\Xml\Schemas\Oracle.DataAccess.Common.Configuration.Section.xsd'. [C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\Xml\Schemas\Oracle.DataAccess.Common.Configuration.Section.xsd (Access is denied)]

+5
source share
5 answers

I made a read / write folder - fixed the problem

0
source

Even after starting as an administrator, I still had to find the file, in my case, in "C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Xml \ Schemas" open the properties and uncheck the read-only box. I finished selecting all the oracle related files in this directory and did the same before I could go through the installation.

+9
source

Open the way

 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Xml\ 

Right click

 Schemas 

and clear the read-only checkbox, running the installer using administrator settings did not work for me

+6
source

It seems that you do not have access to this directory.

Repeat with Administrator rights (use right click > Run as administrator)

+1
source

You do not uncheck the box in the folder, but in certain files. I needed to remove two files.

  • Oracle.DataAccess.Common.Configuration.Section.xsd
  • Oracle.ManagedDataAccess.Client.Configuration.Section.xsd

It worked.

0
source

Source: https://habr.com/ru/post/1262841/


All Articles