Page 1 of 1

Can not load Oracle client. Check your PATH environment vari

Posted: Wed 29 Jul 2009 15:36
by mrs5088
Hi,
I have installed Oracle 10g database and 10g client on the same windows XP PC and when I attempt to create a connection in Entity Developer, I get the following error.

I checked the permissions for the bin folder in oracle directory and gave full permissions to everyone. Also I'm able to connect with sqldeveloper just fine. I also get the same error when I connect with my ASP.NET web application.
---------------------------
Entity Developer for dotConnect
---------------------------
Can not load Oracle client. Check your PATH environment variable and registry settings.
---------------------------
OK
---------------------------

Posted: Fri 31 Jul 2009 07:25
by Shalex
Please find out what exactly your current user is missing. Create a test project and execute

Code: Select all

string path = Environment.GetEnvironmentVariable("PATH");
to find out if your user is allowed to access the PATH variable, and

Code: Select all

RegistryKey keys = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\ORACLE");
to check if your user can access to registry.