Issue with reading TNS_ADMIN from registry.
Posted: Thu 18 Jul 2013 14:51
The code that reads TNS_ADMIN from the windows registry currently requests KEY_WRITE access which will fail under normal user accounts on Windows Vista and above for HKLM. The code should be changed to:
This is in function TOraServerEnumerator.GetTNSFileName.
-Mark
Code: Select all
// RegIniFile := TRegIniFile.Create('', KEY_READ OR KEY_WRITE); // original line
RegIniFile := TRegIniFile.Create('', KEY_READ); // just ask for read access.
-Mark