Can not load Oracle client. Check your PATH environment vari

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
mrs5088
Posts: 7
Joined: Fri 20 Feb 2009 17:12

Can not load Oracle client. Check your PATH environment vari

Post by mrs5088 » Wed 29 Jul 2009 15:36

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
---------------------------

Shalex
Devart Team
Posts: 8033
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 31 Jul 2009 07:25

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.

Post Reply