C# System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

Reason 1: the problem of environmental variables

1. Interface setting:

Right click on my computer – > Content – > Advanced – > Environment variables – > Double click the path item in the system variable, enter a semicolon at the end of the variable value, and then change the bin directory of Oracle to C: Oracle/product/10.2.0/client_ 1/bin (please find the installation directory of ORALCE client on your local computer) and restart IIS

2. Command setting:

reg add “HKEY_ LOCAL_ MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” /v “path” /t REG_ SZ /d “%path%; C:\oracle\product\10.2.0\client_ 1\BIN /f

Reason 2: installation package problem, download the latest installation package

Similar Posts: