Can not load oracle client without local admin rights

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Niels Wijnja
Posts: 4
Joined: Wed 25 Aug 2010 10:45
Location: Zoetermeer, The Netherlands

Can not load oracle client without local admin rights

Post by Niels Wijnja » Wed 25 Aug 2010 11:24

Application is running on a Windows 2003 terminal server, with local admin rights the application starts; without local admin rights i get the following error:

Code: Select all

Exception type: InvalidOperationException
Exception message: Can not load Oracle client. Check your PATH environment variable and registry settings.
InnerException: 
Exception occurred in: Devart.Data.Oracle
Exception thrown by: Void .ctor(Boolean, Boolean, Devart.Data.Oracle.OracleHome)
Stack trace:
   at Devart.Data.Oracle.ak..ctor(Boolean A_0, Boolean A_1, OracleHome A_2)
   at Devart.Data.Oracle.ak.a(Boolean A_0, Boolean A_1, OracleHome A_2)
   at Devart.Data.Oracle.OracleInternalConnection..ctor(y connectionOptions, OracleInternalConnection proxyConnection)
   at Devart.Data.Oracle.bx.a(h A_0, Object A_1, DbConnectionBase A_2)
   at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, h A_1)
   at Devart.Common.DbConnectionPoolGroup.c(DbConnectionPool A_0)
   at Devart.Common.DbConnectionPool.a()
   at Devart.Common.DbConnectionPool.GetObject()
   at Devart.Common.DbConnectionFactory.a(DbConnectionBase A_0)
   at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
   at Devart.Common.DbConnectionBase.Open()
   at Devart.Data.Oracle.OracleConnection.Open()
   at Vicrea.ApplicationBlocks.Data.CoreLab.CLSerializerBase.get_Connection()
   at Vicrea.GVR.Core.Data.CheckDatabase.CheckSchema.CheckConnection()
   at Vicrea.GVR.Core.Data.CheckDatabase.CheckModule(EnumModuleType module)
   at Vicrea.GVR.UI.Forms.StartForm.InitApplication()
   at Vicrea.GVR.UI.Forms.StartForm..ctor()
   at Vicrea.GVR.UI.Program.Main(String[] args)

Additional data: System.Collections.ListDictionaryInternal

Exception trad op:     woensdag 25 augustus 2010 13:18:53
Gebruikte GVR versie:  6.1.135.28592
The path environment variable is exactly the same for a local admin and a normal user.

The application allows to specifiy part of the connection string, used the following 2; neither of them work for a user without admin rights; both work for a local administrator:

Code: Select all

Password=****;User ID=***;Data Source=****

Code: Select all

Password=****;User ID=***;Data Source=****;HOME=CLIENT10g
Gave the normal user full control on the oracle client folder (recursively), didn't solve anything.
Other applications with an oracle backend work fine for a normal user; except this one that uses some of your components.


Does anyone have a clue what might be causing this problem?
Thanks in advance.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 26 Aug 2010 09:17

Please refer to this thread and determine what exactly your normal user is missing (access to the PATH variable or to registry).

Post Reply