'Asp.Net MVC 4.6 use NHibernate for Oracle connection - System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

We have a project which contains ASP.NET MVC 4.6 and it use NHibernate 4.0.

We have folder that has oracle client files and folders. NHibernate use it for connect Oracle( version 11). In addition NHibernate read them from Environment Variables( os : windows 10). For example we create a folder with 'C://app' path, then paste client files and folders after that we add 2 path to Environment Variables ( 'C:\app\client\client_1' and 'C:\app\client\client_1\bin').

At last we run our project when it need connect oracle database we see this error.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source