Connecting to Oracle


#1

I’m getting an error stating:

“The procedure entry point OCIServerRelease could not be located in the
dynamic link library OCI.dll.”

The following are points:

  • I installed ActiveRecord
  • I then installed mswin-oci(i.e.
    http://rubyforge.org/frs/?group_id=256&release_id=3136)
  • My connection to Oracle works fine through SQLPlus, Toad and/or other
    tools.
  • If I remove the OCI files from the above URL, I get “database
    configuration specifies nonexistent OCI8 adapter
    (ActiveRecord::AdapterNotFound)” when running almost any command(i.e.
    ruby script/server).

Thoughts?

Thanks for any help.
Chuck


#2

On 1/4/06, Day, Chuck removed_email_address@domain.invalid wrote:

tools.

  • If I remove the OCI files from the above URL, I get “database
    configuration specifies nonexistent OCI8 adapter
    (ActiveRecord::AdapterNotFound)” when running almost any command(i.e.
    ruby script/server).

What version of the Oracle client are you using? Make sure you have
8i or newer, rather than 8.0.x.

Personally I’ve had the best luck on Windows with the 9i client.
Things are a bit more of a hassle with InstantClient or the 10g client
install.