# Connecting to Oracle

**URL:** <https://www.ruby-forum.com/t/connecting-to-oracle/51634>\
**Category:** Ruby\
**Created:** [January 4, 2006, 8:12pm UTC](https://www.ruby-forum.com/t/connecting-to-oracle/51634 "2006-01-04T20:12:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DayS\_Chuck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ab097/32.png) [@DayS\_Chuck](https://www.ruby-forum.com/u/DayS_Chuck)\
**Post date:** [January 4, 2006, 8:12pm UTC](https://www.ruby-forum.com/t/connecting-to-oracle/51634/1 "2006-01-04T20:12:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DayS\_Chuck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ab097/32.png) [@DayS\_Chuck](https://www.ruby-forum.com/u/DayS_Chuck)\
**Post date:** [January 5, 2006, 1:15am UTC](https://www.ruby-forum.com/t/connecting-to-oracle/51634/2 "2006-01-05T01:15:30Z")

</div>

On 1/4/06, Day, Chuck [removed\_email\_address@domain.invalid](mailto: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.
