Skip to main content

Oracle Database Connection Error

When encountering error message similar to the one mentioned below, please follow below instructions.

DS:34 Process Runner DB
DBMANAG:1 The type initializer for 'Process_Runner_DB.ProrDBOracle' threw an exception.

Cause

This error occurred due to incompatible version of Oracle Data Access Components (ODAC) installed on user's machine.

Prerequisites

  1. Perform the following to know the running windows system type:
  2. Select the Start button.
  3. Right-click Computer, select Properties.The Properties window apperars.
  4. Under System check out the System Type. It would either be a 32-bit or a 64-bit operating system.

Suggested Solution

  1. Install compatible version of Oracle Data Access Components (ODAC) for Process Runner DB from the following link: www.oracle.com/database/technologies/odac-nuget-downloads.html
  2. Once the link is opened in the browser, scroll-down the window and select download link as shown below:

  3. Unzip the file to a location of your choice. In this example, we have set the path as C:\.
  4. For instructions on ODAC112040Xcopy installation, refer to the README included with that particular installation.

  5. Copy the downloaded zip folder into one of the system drives. For example the C:\.
  6. Open Command Prompt, ensure to run it as Administrator.
  7. In the Cmd window, open the copied folder.
  8. To change the drive to C: type the C:\ and hit enter.
  9. Enter cd C:\ODAC112040Xcopy_32bit which is the name of the folder we copied. The cursor will change to C:\ODAC112040Xcopy_32bit as we have selected the ODAC112040Xcopy_32bit folder.
  10. Enter the command install.bat all [drive]\[folder] odac, this would install the .bat file in the this folder. for example install.bat all c:\oracle odac.

Was this article helpful?

We're sorry to hear that.