Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

When I am in the 'installing product 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)]

like image 542
Aflred Avatar asked Jan 15 '17 14:01

Aflred


People also ask

How do I fix the provider is not compatible with the Oracle client?

The "not compatible" error is likely due to the 64-bit ODP.NET driver finding the 32-bit Oracle Client dependencies in its path and trying to load them because they have the correct name, but error out due to incorrect bitness. The solution is to use the DllPath setting in you app/web. config file.


1 Answers

Open the path

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

Right click on

Schemas

folder and unset read-only checkbox, run the installer with admin rigths didn't work for me

like image 64
Cherry Blossom Girl Avatar answered Oct 05 '22 17:10

Cherry Blossom Girl