I use OraDirect 2.5.3
string OracleHome = "c:\orant";
foreach(CoreLab.Oracle.OracleHome h in CoreLab.Oracle.OracleConnection.Homes)
{
Console.WriteLine(h.Path);
if(h.Path.ToUpper() == OracleHome.ToUpper())
{
_cnn.Home = h.Path;
}
} }
when i call _cnn.Open() i get exception Oracle Home with name C:\orant does not exist. Why does not Oracle Home exist, if i select it from the OracleHomeCollection?