System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
search cancel

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

book

Article ID: 176968

calendar_today

Updated On:

Products

Workflow Solution

Issue/Introduction

I have a workflow that needs to connect to an Oracle database.  It works on the Notification Server where the Designer is installed but when I attempt to run this in production I get this error:  
 
System.Exception
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater. at System.Data.OracleClient.OCI.DetermineClientVersion() at System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName) at System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString connectionOptions) at System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OracleClient.OracleConnection.Open() at GetEmployeeByEmployeeNumber.SqlQuery.GetEmployeeByEmployeeNumber.Run(IData data) at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context) at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Do I need to include certain libraries when I deploy my workflows to the production environment?  Does the production environment need to have the Oracle Client installed?

Cause

The Oracle client needs to be installed in production.

Furthermore, there is a known issue with the authentication mechanism within Oracle Client.  Security permissions were not properly set when the Oracle 9i Release 2 client was installed on Windows with NTFS. The result of this is that content of the ORACLE_HOME directory is not visible to Authenticated Users on the machine; this again causes an error while the System.Data.OracleClient is communicating with the Oracle Connectivity software from an ASP.NET using Authenticated User privileges.

Resolution

Install Oracle Client and ensure firewall access to the Oracle database.

Give the Authenticated Users group privileges to the Oracle Home directory.

  1. Log on to Windows as a user with Administrator privileges.
  2. Start Window Explorer and navigate to the ORACLE_HOME folder.
  3. Choose properties on the ORACLE_HOME folder.
  4. Click the “Security” tab of the “Properties” window.
  5. Click on “Authenticated Users” item in the “Name” list.
  6. Uncheck the “Read and Execute” box in the “Permissions” list under the “Allow” column.
  7. Re-check the “Read and Execute” box under the “Allow” column
  8. Click the “Advanced” button and in the “Permission Entries” verify that “Authenticated Users” are listed with permission = “Read & Execute”, and Apply To = “This    folder, subfolders and files”. If not, edit that line and make sure that “Apply To” drop-down box is set to “This folder, subfolders and files”. This should already be    set properly but it is important that you verify it.
  9. Click the “Ok” button until you close out all of the security properties windows. The cursor may present the hour glass for a few seconds as it applies the permissions    you just changed to all subfolders and files.
  10. Reboot to ensure that the changes have taken effect.



Applies To
Workflow Solution 6.5.1