[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Connecting to Oracle

Day, Chuck

1/4/2006 7:12:00 PM

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&relea...)
- 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



1 Answer

Wilson Bilkovich

1/5/2006 12:14:00 AM

0

On 1/4/06, Day, Chuck <chuck.day@medtronic.com> wrote:
> 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&relea...)
> - 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).
>

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.